提交 3e8f19f2 编写于 作者: MaxKey单点登录官方's avatar MaxKey单点登录官方

Update platform.common.js

上级 68725ef8
......@@ -29,25 +29,24 @@ $(function(){
});
});
//on captcha image click ,new a captcha code
$('.captcha-image').click(function () {//
$(this).attr("src", webContextPath + "/captcha?"+(new Date()).getTime());
});
/*side-nav-menu side navigation*/
if($('#side-nav-menu')["metisMenu"]){
if($('#side-nav-menu').length > 0){
$('#side-nav-menu').metisMenu();
$('.side-nav-menu').each(function(){
var href = $(this).attr('href');
if(window.location.href.indexOf(href) > 0){
$(this).parents("li").addClass("mm-active");
$(this).parents("li").children("ul").addClass("mm-show");
}
});
}
$('.side-nav-menu').each(function(){
var href = $(this).attr('href');
if(window.location.href.indexOf(href) > 0){
$(this).parents("li").addClass("mm-active");
$(this).parents("li").children("ul").addClass("mm-show");
}
});
/** switch_tab*/
$(".switch_tab_class").on("click",function(){
if($(".switch_tab_current").attr("id")==(this.id)){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册