1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-30 18:24:29 +01:00

I forgot how to jQuery

This commit is contained in:
marktaiwan 2015-03-08 13:06:52 +08:00 committed by czaks
parent 3e579ee1d4
commit 84bc3b0f7b

View File

@ -115,7 +115,7 @@ $(document).ready(function(){
if (!$(this).data('expanded')) { if (!$(this).data('expanded')) {
if (~this.parentNode.className.indexOf('multifile')) if (~this.parentNode.className.indexOf('multifile'))
$(this).data('width') = this.parentNode.style.width; $(this).data('width', this.parentNode.style.width);
this.parentNode.removeAttribute('style'); this.parentNode.removeAttribute('style');
$(this).data('expanded', 'true'); $(this).data('expanded', 'true');