mirror of
https://gitee.com/ulthon/ul-file-share.git
synced 2026-07-09 14:12:49 +08:00
修改列表显示
This commit is contained in:
@@ -317,13 +317,12 @@
|
|||||||
$('.show-files').click(function () {
|
$('.show-files').click(function () {
|
||||||
var files = $(this).siblings('.files');
|
var files = $(this).siblings('.files');
|
||||||
|
|
||||||
|
|
||||||
if (files.is(':visible')) {
|
if (files.is(':visible')) {
|
||||||
files.hide()
|
files.hide()
|
||||||
$(this).text('隐藏')
|
$(this).text('显示')
|
||||||
} else {
|
} else {
|
||||||
files.show()
|
files.show()
|
||||||
$(this).text('显示')
|
$(this).text('隐藏')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user