增加hex十六进制格式校验
修改所有多域的详细配置查看,每个属性为一行
This commit is contained in:
@@ -141,22 +141,26 @@ var Layout = function () {
|
||||
return;
|
||||
}
|
||||
|
||||
var parent =that.parent().parent();
|
||||
var the = that;
|
||||
var menu = $('.page-sidebar-menu');
|
||||
var sub = that.next();
|
||||
|
||||
var autoScroll = menu.data("auto-scroll");
|
||||
var slideSpeed = parseInt(menu.data("slide-speed"));
|
||||
var keepExpand = menu.data("keep-expanded");
|
||||
|
||||
if (hasSubMenu === false) {
|
||||
that.parent().parent().find('span.arrow').removeClass('open');
|
||||
that.parent().parent().find('span.arrow').parent().parent().find('.sub-menu:not(.always-open)').slideUp(slideSpeed);
|
||||
that.parent().parent().find('span.arrow').parent().parent().find(".sub-menu").attr("style","none");
|
||||
that.parent().parent().find('li.open').removeClass('open');
|
||||
if (App.getViewPort().width < resBreakpointMd && $('.page-sidebar').hasClass("in")) { // close the menu on mobile view while laoding a page
|
||||
$('.page-header .responsive-toggler').click();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
var parent =that.parent().parent();
|
||||
var the = that;
|
||||
var menu = $('.page-sidebar-menu');
|
||||
var sub = that.next();
|
||||
|
||||
var autoScroll = menu.data("auto-scroll");
|
||||
var slideSpeed = parseInt(menu.data("slide-speed"));
|
||||
var keepExpand = menu.data("keep-expanded");
|
||||
|
||||
if (!keepExpand) {
|
||||
parent.children('li.open').children('a').children('.arrow').removeClass('open');
|
||||
parent.children('li.open').children('.sub-menu:not(.always-open)').slideUp(slideSpeed);
|
||||
|
||||
Reference in New Issue
Block a user