mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-25 04:27:22 +08:00
text align tag + update/edit get desc + rating improve
This commit is contained in:
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
;
|
||||
jQuery('.spoiler-title').on('click', function () {
|
||||
let content = jQuery(this).parent().next();
|
||||
if (content.hasClass('collapse')) {
|
||||
content.height(content[0].scrollHeight).removeClass('collapse')
|
||||
} else {
|
||||
content.height(0).addClass('collapse')
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user