From 84bc3b0f7b7b60ee905167ee6390d4f7d241ca8e Mon Sep 17 00:00:00 2001 From: marktaiwan Date: Sun, 8 Mar 2015 13:06:52 +0800 Subject: [PATCH] I forgot how to jQuery --- js/inline-expanding.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');