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.parentNode.className.indexOf('multifile'))
$(this).data('width') = this.parentNode.style.width;
$(this).data('width', this.parentNode.style.width);
this.parentNode.removeAttribute('style');
$(this).data('expanded', 'true');