forked from GithubBackups/vichan
Merge pull request #420 from marktaiwan/inline-expanding
Inline expanding: proper data assignment.
This commit is contained in:
commit
45bb8f0920
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user