summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarktaiwan <mark.taiwan@gmail.com>2015-03-08 13:06:52 +0800
committerczaks <marcin@6irc.net>2016-05-05 12:16:55 +0200
commit84bc3b0f7b7b60ee905167ee6390d4f7d241ca8e (patch)
treec9a6cf520fcfa89568c29bb8a4dc625eb2b51b1e
parent3e579ee1d483e3a5b26b980762c7ccbd9e33850a (diff)
I forgot how to jQuery
-rw-r--r--js/inline-expanding.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/inline-expanding.js b/js/inline-expanding.js
index 78e5dc68..5db95c09 100644
--- a/js/inline-expanding.js
+++ b/js/inline-expanding.js
@@ -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');