Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
吃冰棍不.
gentelella
提交
4c869068
G
gentelella
项目概览
吃冰棍不.
/
gentelella
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gentelella
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
4c869068
编写于
2月 15, 2018
作者:
A
AndreiCN
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
#471
3º level menu not working on mobile - Fixed.
上级
e947f4c8
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
61 addition
and
41 deletion
+61
-41
build/js/custom.js
build/js/custom.js
+30
-20
build/js/custom.min.js
build/js/custom.min.js
+1
-1
src/js/custom.js
src/js/custom.js
+30
-20
未找到文件。
build/js/custom.js
浏览文件 @
4c869068
...
...
@@ -68,27 +68,37 @@ $(document).ready(function() {
};
$SIDEBAR_MENU
.
find
(
'
a
'
).
on
(
'
click
'
,
function
(
ev
)
{
var
$li
=
$
(
this
).
parent
();
var
$li
=
$
(
this
).
parent
();
if
(
$li
.
is
(
'
.active
'
))
{
$li
.
removeClass
(
'
active active-sm
'
);
$
(
'
ul:first
'
,
$li
).
slideUp
(
function
()
{
setContentHeight
();
});
}
else
{
// prevent closing menu if we are on child menu
if
(
!
$li
.
parent
().
is
(
'
.child_menu
'
))
{
$SIDEBAR_MENU
.
find
(
'
li
'
).
removeClass
(
'
active active-sm
'
);
$SIDEBAR_MENU
.
find
(
'
li ul
'
).
slideUp
();
}
else
{
if
(
$BODY
.
is
(
"
.nav-sm
"
)
)
{
if
(
!
$li
.
parent
().
is
(
'
.child_menu
'
))
{
$SIDEBAR_MENU
.
find
(
'
li
'
).
removeClass
(
'
active active-sm
'
);
$SIDEBAR_MENU
.
find
(
'
li ul
'
).
slideUp
();
}
}
}
$li
.
addClass
(
'
active
'
);
$
(
'
ul:first
'
,
$li
).
slideDown
(
function
()
{
});
}
});
if
(
$li
.
is
(
'
.active
'
))
{
$li
.
removeClass
(
'
active active-sm
'
);
$
(
'
ul:first
'
,
$li
).
slideUp
(
function
()
{
setContentHeight
();
});
}
else
{
// prevent closing menu if we are on child menu
if
(
!
$li
.
parent
().
is
(
'
.child_menu
'
))
{
$SIDEBAR_MENU
.
find
(
'
li
'
).
removeClass
(
'
active active-sm
'
);
$SIDEBAR_MENU
.
find
(
'
li ul
'
).
slideUp
();
}
$li
.
addClass
(
'
active
'
);
$
(
'
ul:first
'
,
$li
).
slideDown
(
function
()
{
setContentHeight
();
});
}
});
// toggle small or large menu
$MENU_TOGGLE
.
on
(
'
click
'
,
function
()
{
...
...
build/js/custom.min.js
浏览文件 @
4c869068
function
countChecked
(){
"
all
"
===
checkState
&&
$
(
"
.bulk_action input[name='table_records']
"
).
iCheck
(
"
check
"
),
"
none
"
===
checkState
&&
$
(
"
.bulk_action input[name='table_records']
"
).
iCheck
(
"
uncheck
"
);
var
e
=
$
(
"
.bulk_action input[name='table_records']:checked
"
).
length
;
e
?(
$
(
"
.column-title
"
).
hide
(),
$
(
"
.bulk-actions
"
).
show
(),
$
(
"
.action-cnt
"
).
html
(
e
+
"
Records Selected
"
)):(
$
(
"
.column-title
"
).
show
(),
$
(
"
.bulk-actions
"
).
hide
())}
!
function
(
e
,
t
){
var
n
=
function
(
e
,
t
,
n
){
var
i
;
return
function
(){
function
c
(){
n
||
e
.
apply
(
a
,
o
),
i
=
null
}
var
a
=
this
,
o
=
arguments
;
i
?
clearTimeout
(
i
):
n
&&
e
.
apply
(
a
,
o
),
i
=
setTimeout
(
c
,
t
||
100
)}};
jQuery
.
fn
[
t
]
=
function
(
e
){
return
e
?
this
.
bind
(
"
resize
"
,
n
(
e
)):
this
.
trigger
(
t
)}}(
jQuery
,
"
smartresize
"
);
var
CURRENT_URL
=
window
.
location
.
href
,
$BODY
=
$
(
"
body
"
),
$MENU_TOGGLE
=
$
(
"
#menu_toggle
"
),
$SIDEBAR_MENU
=
$
(
"
#sidebar-menu
"
),
$SIDEBAR_FOOTER
=
$
(
"
.sidebar-footer
"
),
$LEFT_COL
=
$
(
"
.left_col
"
),
$RIGHT_COL
=
$
(
"
.right_col
"
),
$NAV_MENU
=
$
(
"
.nav_menu
"
),
$FOOTER
=
$
(
"
footer
"
);
$
(
document
).
ready
(
function
(){
var
e
=
function
(){
$RIGHT_COL
.
css
(
"
min-height
"
,
$
(
window
).
height
());
var
e
=
$BODY
.
outerHeight
(),
t
=
$BODY
.
hasClass
(
"
footer_fixed
"
)?
-
10
:
$FOOTER
.
height
(),
n
=
$LEFT_COL
.
eq
(
1
).
height
()
+
$SIDEBAR_FOOTER
.
height
(),
i
=
e
<
n
?
n
:
e
;
i
-=
$NAV_MENU
.
height
()
+
t
,
$RIGHT_COL
.
css
(
"
min-height
"
,
i
)};
$SIDEBAR_MENU
.
find
(
"
a
"
).
on
(
"
click
"
,
function
(
t
){
var
n
=
$
(
this
).
parent
();
n
.
is
(
"
.active
"
)?(
n
.
removeClass
(
"
active active-sm
"
),
$
(
"
ul:first
"
,
n
).
slideUp
(
function
(){
e
()})):(
n
.
parent
().
is
(
"
.child_menu
"
)
||
(
$SIDEBAR_MENU
.
find
(
"
li
"
).
removeClass
(
"
active active-sm
"
),
$SIDEBAR_MENU
.
find
(
"
li ul
"
).
slideUp
()),
n
.
addClass
(
"
active
"
),
$
(
"
ul:first
"
,
n
).
slideDown
(
function
(){
e
()}))}),
$MENU_TOGGLE
.
on
(
"
click
"
,
function
(){
$BODY
.
hasClass
(
"
nav-md
"
)?(
$SIDEBAR_MENU
.
find
(
"
li.active ul
"
).
hide
(),
$SIDEBAR_MENU
.
find
(
"
li.active
"
).
addClass
(
"
active-sm
"
).
removeClass
(
"
active
"
)):(
$SIDEBAR_MENU
.
find
(
"
li.active-sm ul
"
).
show
(),
$SIDEBAR_MENU
.
find
(
"
li.active-sm
"
).
addClass
(
"
active
"
).
removeClass
(
"
active-sm
"
)),
$BODY
.
toggleClass
(
"
nav-md nav-sm
"
),
e
(),
$
(
"
.dataTable
"
).
each
(
function
(){
$
(
this
).
dataTable
().
fnDraw
()})});
var
t
=
$SIDEBAR_MENU
.
find
(
"
a
"
).
filter
(
function
(){
return
this
.
href
==
CURRENT_URL
});
if
(
0
==
t
.
length
){
var
t
=
$SIDEBAR_MENU
.
find
(
"
a
"
).
filter
(
function
(){
return
CURRENT_URL
.
startsWith
(
this
.
href
)
&&
""
!=
this
.
href
});
if
(
t
.
length
>
1
){
for
(
var
n
=
0
,
i
=
0
;
i
<
t
.
length
;
i
++
)
t
.
eq
(
n
).
attr
(
"
href
"
).
length
<
t
.
eq
(
i
).
attr
(
"
href
"
).
length
&&
(
n
=
i
);
t
=
t
.
eq
(
n
)}}
t
.
parent
(
"
li
"
).
addClass
(
"
current-page
"
).
parents
(
"
ul
"
).
slideDown
(
function
(){
e
()}).
parent
().
addClass
(
"
active
"
),
$
(
window
).
smartresize
(
function
(){
e
()}),
e
(),
$
.
fn
.
mCustomScrollbar
&&
$
(
"
.menu_fixed
"
).
mCustomScrollbar
({
autoHideScrollbar
:
!
0
,
theme
:
"
minimal
"
,
mouseWheel
:{
preventDefault
:
!
0
}})}),
$
(
document
).
ready
(
function
(){
$
(
"
.collapse-link
"
).
on
(
"
click
"
,
function
(){
var
e
=
$
(
this
).
closest
(
"
.x_panel
"
),
t
=
$
(
this
).
find
(
"
i
"
),
n
=
e
.
find
(
"
.x_content
"
).
eq
(
0
);
e
.
attr
(
"
style
"
)?
n
.
slideToggle
(
200
,
function
(){
e
.
removeAttr
(
"
style
"
)}):(
n
.
slideToggle
(
200
),
e
.
css
(
"
height
"
,
"
auto
"
)),
t
.
toggleClass
(
"
fa-chevron-up fa-chevron-down
"
)}),
$
(
"
.close-link
"
).
click
(
function
(){
var
e
=
$
(
this
).
closest
(
"
.x_panel
"
);
e
.
remove
()})}),
$
(
document
).
ready
(
function
(){
$
(
'
[data-toggle="tooltip"]
'
).
tooltip
({
container
:
"
body
"
})}),
$
(
document
).
ready
(
function
(){
$
(
"
.progress .progress-bar
"
)[
0
]
&&
$
(
"
.progress .progress-bar
"
).
progressbar
()}),
$
(
document
).
ready
(
function
(){
if
(
$
(
"
.js-switch
"
)[
0
]){
var
e
=
Array
.
prototype
.
slice
.
call
(
document
.
querySelectorAll
(
"
.js-switch
"
));
e
.
forEach
(
function
(
e
){
new
Switchery
(
e
,{
color
:
"
#26B99A
"
})})}}),
$
(
document
).
ready
(
function
(){
$
(
"
input.flat
"
)[
0
]
&&
$
(
document
).
ready
(
function
(){
$
(
"
input.flat
"
).
iCheck
({
checkboxClass
:
"
icheckbox_flat-green
"
,
radioClass
:
"
iradio_flat-green
"
})})}),
$
(
"
table input
"
).
on
(
"
ifChecked
"
,
function
(){
checkState
=
""
,
$
(
this
).
parent
().
parent
().
parent
().
addClass
(
"
selected
"
),
countChecked
()}),
$
(
"
table input
"
).
on
(
"
ifUnchecked
"
,
function
(){
checkState
=
""
,
$
(
this
).
parent
().
parent
().
parent
().
removeClass
(
"
selected
"
),
countChecked
()});
var
checkState
=
""
;
$
(
"
.bulk_action input
"
).
on
(
"
ifChecked
"
,
function
(){
checkState
=
""
,
$
(
this
).
parent
().
parent
().
parent
().
addClass
(
"
selected
"
),
countChecked
()}),
$
(
"
.bulk_action input
"
).
on
(
"
ifUnchecked
"
,
function
(){
checkState
=
""
,
$
(
this
).
parent
().
parent
().
parent
().
removeClass
(
"
selected
"
),
countChecked
()}),
$
(
"
.bulk_action input#check-all
"
).
on
(
"
ifChecked
"
,
function
(){
checkState
=
"
all
"
,
countChecked
()}),
$
(
"
.bulk_action input#check-all
"
).
on
(
"
ifUnchecked
"
,
function
(){
checkState
=
"
none
"
,
countChecked
()}),
$
(
document
).
ready
(
function
(){
$
(
"
.expand
"
).
on
(
"
click
"
,
function
(){
$
(
this
).
next
().
slideToggle
(
200
),
$expand
=
$
(
this
).
find
(
"
>:first-child
"
),
"
+
"
==
$expand
.
text
()?
$expand
.
text
(
"
-
"
):
$expand
.
text
(
"
+
"
)})}),
"
undefined
"
!=
typeof
NProgress
&&
(
$
(
document
).
ready
(
function
(){
NProgress
.
start
()}),
$
(
window
).
on
(
"
load
"
,
function
(){
NProgress
.
done
()}));
\ No newline at end of file
function
countChecked
(){
"
all
"
===
checkState
&&
$
(
"
.bulk_action input[name='table_records']
"
).
iCheck
(
"
check
"
),
"
none
"
===
checkState
&&
$
(
"
.bulk_action input[name='table_records']
"
).
iCheck
(
"
uncheck
"
);
var
e
=
$
(
"
.bulk_action input[name='table_records']:checked
"
).
length
;
e
?(
$
(
"
.column-title
"
).
hide
(),
$
(
"
.bulk-actions
"
).
show
(),
$
(
"
.action-cnt
"
).
html
(
e
+
"
Records Selected
"
)):(
$
(
"
.column-title
"
).
show
(),
$
(
"
.bulk-actions
"
).
hide
())}
!
function
(
e
,
t
){
var
n
=
function
(
e
,
t
,
n
){
var
i
;
return
function
(){
function
c
(){
n
||
e
.
apply
(
a
,
o
),
i
=
null
}
var
a
=
this
,
o
=
arguments
;
i
?
clearTimeout
(
i
):
n
&&
e
.
apply
(
a
,
o
),
i
=
setTimeout
(
c
,
t
||
100
)}};
jQuery
.
fn
[
t
]
=
function
(
e
){
return
e
?
this
.
bind
(
"
resize
"
,
n
(
e
)):
this
.
trigger
(
t
)}}(
jQuery
,
"
smartresize
"
);
var
CURRENT_URL
=
window
.
location
.
href
,
$BODY
=
$
(
"
body
"
),
$MENU_TOGGLE
=
$
(
"
#menu_toggle
"
),
$SIDEBAR_MENU
=
$
(
"
#sidebar-menu
"
),
$SIDEBAR_FOOTER
=
$
(
"
.sidebar-footer
"
),
$LEFT_COL
=
$
(
"
.left_col
"
),
$RIGHT_COL
=
$
(
"
.right_col
"
),
$NAV_MENU
=
$
(
"
.nav_menu
"
),
$FOOTER
=
$
(
"
footer
"
);
$
(
document
).
ready
(
function
(){
var
e
=
function
(){
$RIGHT_COL
.
css
(
"
min-height
"
,
$
(
window
).
height
());
var
e
=
$BODY
.
outerHeight
(),
t
=
$BODY
.
hasClass
(
"
footer_fixed
"
)?
-
10
:
$FOOTER
.
height
(),
n
=
$LEFT_COL
.
eq
(
1
).
height
()
+
$SIDEBAR_FOOTER
.
height
(),
i
=
e
<
n
?
n
:
e
;
i
-=
$NAV_MENU
.
height
()
+
t
,
$RIGHT_COL
.
css
(
"
min-height
"
,
i
)};
$SIDEBAR_MENU
.
find
(
"
a
"
).
on
(
"
click
"
,
function
(
t
){
var
n
=
$
(
this
).
parent
();
n
.
is
(
"
.active
"
)?(
n
.
removeClass
(
"
active active-sm
"
),
$
(
"
ul:first
"
,
n
).
slideUp
(
function
(){
e
()})):(
n
.
parent
().
is
(
"
.child_menu
"
)?
$BODY
.
is
(
"
.nav-sm
"
)
&&
(
n
.
parent
().
is
(
"
.child_menu
"
)
||
(
$SIDEBAR_MENU
.
find
(
"
li
"
).
removeClass
(
"
active active-sm
"
),
$SIDEBAR_MENU
.
find
(
"
li ul
"
).
slideUp
())):(
$SIDEBAR_MENU
.
find
(
"
li
"
).
removeClass
(
"
active active-sm
"
),
$SIDEBAR_MENU
.
find
(
"
li ul
"
).
slideUp
()),
n
.
addClass
(
"
active
"
),
$
(
"
ul:first
"
,
n
).
slideDown
(
function
(){}))}),
$MENU_TOGGLE
.
on
(
"
click
"
,
function
(){
$BODY
.
hasClass
(
"
nav-md
"
)?(
$SIDEBAR_MENU
.
find
(
"
li.active ul
"
).
hide
(),
$SIDEBAR_MENU
.
find
(
"
li.active
"
).
addClass
(
"
active-sm
"
).
removeClass
(
"
active
"
)):(
$SIDEBAR_MENU
.
find
(
"
li.active-sm ul
"
).
show
(),
$SIDEBAR_MENU
.
find
(
"
li.active-sm
"
).
addClass
(
"
active
"
).
removeClass
(
"
active-sm
"
)),
$BODY
.
toggleClass
(
"
nav-md nav-sm
"
),
e
(),
$
(
"
.dataTable
"
).
each
(
function
(){
$
(
this
).
dataTable
().
fnDraw
()})});
var
t
=
$SIDEBAR_MENU
.
find
(
"
a
"
).
filter
(
function
(){
return
this
.
href
==
CURRENT_URL
});
if
(
0
==
t
.
length
){
var
t
=
$SIDEBAR_MENU
.
find
(
"
a
"
).
filter
(
function
(){
return
CURRENT_URL
.
startsWith
(
this
.
href
)
&&
""
!=
this
.
href
});
if
(
t
.
length
>
1
){
for
(
var
n
=
0
,
i
=
0
;
i
<
t
.
length
;
i
++
)
t
.
eq
(
n
).
attr
(
"
href
"
).
length
<
t
.
eq
(
i
).
attr
(
"
href
"
).
length
&&
(
n
=
i
);
t
=
t
.
eq
(
n
)}}
t
.
parent
(
"
li
"
).
addClass
(
"
current-page
"
).
parents
(
"
ul
"
).
slideDown
(
function
(){
e
()}).
parent
().
addClass
(
"
active
"
),
$
(
window
).
smartresize
(
function
(){
e
()}),
e
(),
$
.
fn
.
mCustomScrollbar
&&
$
(
"
.menu_fixed
"
).
mCustomScrollbar
({
autoHideScrollbar
:
!
0
,
theme
:
"
minimal
"
,
mouseWheel
:{
preventDefault
:
!
0
}})}),
$
(
document
).
ready
(
function
(){
$
(
"
.collapse-link
"
).
on
(
"
click
"
,
function
(){
var
e
=
$
(
this
).
closest
(
"
.x_panel
"
),
t
=
$
(
this
).
find
(
"
i
"
),
n
=
e
.
find
(
"
.x_content
"
).
eq
(
0
);
e
.
attr
(
"
style
"
)?
n
.
slideToggle
(
200
,
function
(){
e
.
removeAttr
(
"
style
"
)}):(
n
.
slideToggle
(
200
),
e
.
css
(
"
height
"
,
"
auto
"
)),
t
.
toggleClass
(
"
fa-chevron-up fa-chevron-down
"
)}),
$
(
"
.close-link
"
).
click
(
function
(){
var
e
=
$
(
this
).
closest
(
"
.x_panel
"
);
e
.
remove
()})}),
$
(
document
).
ready
(
function
(){
$
(
'
[data-toggle="tooltip"]
'
).
tooltip
({
container
:
"
body
"
})}),
$
(
document
).
ready
(
function
(){
$
(
"
.progress .progress-bar
"
)[
0
]
&&
$
(
"
.progress .progress-bar
"
).
progressbar
()}),
$
(
document
).
ready
(
function
(){
if
(
$
(
"
.js-switch
"
)[
0
]){
var
e
=
Array
.
prototype
.
slice
.
call
(
document
.
querySelectorAll
(
"
.js-switch
"
));
e
.
forEach
(
function
(
e
){
new
Switchery
(
e
,{
color
:
"
#26B99A
"
})})}}),
$
(
document
).
ready
(
function
(){
$
(
"
input.flat
"
)[
0
]
&&
$
(
document
).
ready
(
function
(){
$
(
"
input.flat
"
).
iCheck
({
checkboxClass
:
"
icheckbox_flat-green
"
,
radioClass
:
"
iradio_flat-green
"
})})}),
$
(
"
table input
"
).
on
(
"
ifChecked
"
,
function
(){
checkState
=
""
,
$
(
this
).
parent
().
parent
().
parent
().
addClass
(
"
selected
"
),
countChecked
()}),
$
(
"
table input
"
).
on
(
"
ifUnchecked
"
,
function
(){
checkState
=
""
,
$
(
this
).
parent
().
parent
().
parent
().
removeClass
(
"
selected
"
),
countChecked
()});
var
checkState
=
""
;
$
(
"
.bulk_action input
"
).
on
(
"
ifChecked
"
,
function
(){
checkState
=
""
,
$
(
this
).
parent
().
parent
().
parent
().
addClass
(
"
selected
"
),
countChecked
()}),
$
(
"
.bulk_action input
"
).
on
(
"
ifUnchecked
"
,
function
(){
checkState
=
""
,
$
(
this
).
parent
().
parent
().
parent
().
removeClass
(
"
selected
"
),
countChecked
()}),
$
(
"
.bulk_action input#check-all
"
).
on
(
"
ifChecked
"
,
function
(){
checkState
=
"
all
"
,
countChecked
()}),
$
(
"
.bulk_action input#check-all
"
).
on
(
"
ifUnchecked
"
,
function
(){
checkState
=
"
none
"
,
countChecked
()}),
$
(
document
).
ready
(
function
(){
$
(
"
.expand
"
).
on
(
"
click
"
,
function
(){
$
(
this
).
next
().
slideToggle
(
200
),
$expand
=
$
(
this
).
find
(
"
>:first-child
"
),
"
+
"
==
$expand
.
text
()?
$expand
.
text
(
"
-
"
):
$expand
.
text
(
"
+
"
)})}),
"
undefined
"
!=
typeof
NProgress
&&
(
$
(
document
).
ready
(
function
(){
NProgress
.
start
()}),
$
(
window
).
on
(
"
load
"
,
function
(){
NProgress
.
done
()}));
\ No newline at end of file
src/js/custom.js
浏览文件 @
4c869068
...
...
@@ -33,27 +33,37 @@ $(document).ready(function() {
};
$SIDEBAR_MENU
.
find
(
'
a
'
).
on
(
'
click
'
,
function
(
ev
)
{
var
$li
=
$
(
this
).
parent
();
var
$li
=
$
(
this
).
parent
();
if
(
$li
.
is
(
'
.active
'
))
{
$li
.
removeClass
(
'
active active-sm
'
);
$
(
'
ul:first
'
,
$li
).
slideUp
(
function
()
{
setContentHeight
();
});
}
else
{
// prevent closing menu if we are on child menu
if
(
!
$li
.
parent
().
is
(
'
.child_menu
'
))
{
$SIDEBAR_MENU
.
find
(
'
li
'
).
removeClass
(
'
active active-sm
'
);
$SIDEBAR_MENU
.
find
(
'
li ul
'
).
slideUp
();
}
else
{
if
(
$BODY
.
is
(
"
.nav-sm
"
)
)
{
if
(
!
$li
.
parent
().
is
(
'
.child_menu
'
))
{
$SIDEBAR_MENU
.
find
(
'
li
'
).
removeClass
(
'
active active-sm
'
);
$SIDEBAR_MENU
.
find
(
'
li ul
'
).
slideUp
();
}
}
}
$li
.
addClass
(
'
active
'
);
$
(
'
ul:first
'
,
$li
).
slideDown
(
function
()
{
});
}
});
if
(
$li
.
is
(
'
.active
'
))
{
$li
.
removeClass
(
'
active active-sm
'
);
$
(
'
ul:first
'
,
$li
).
slideUp
(
function
()
{
setContentHeight
();
});
}
else
{
// prevent closing menu if we are on child menu
if
(
!
$li
.
parent
().
is
(
'
.child_menu
'
))
{
$SIDEBAR_MENU
.
find
(
'
li
'
).
removeClass
(
'
active active-sm
'
);
$SIDEBAR_MENU
.
find
(
'
li ul
'
).
slideUp
();
}
$li
.
addClass
(
'
active
'
);
$
(
'
ul:first
'
,
$li
).
slideDown
(
function
()
{
setContentHeight
();
});
}
});
// toggle small or large menu
$MENU_TOGGLE
.
on
(
'
click
'
,
function
()
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录