From 7ca3f0bdd91b4cc5e1e32718e7761b2143c42ec9 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');