fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2011-11-01 10:08 am

[dw-free] Revamp /update

[commit: http://hg.dwscoalition.org/dw-free/rev/523707bab14d]

http://bugs.dwscoalition.org/show_bug.cgi?id=2524

Fix JavaScript in IE.

Patch by [personal profile] fu.

Files modified:
  • htdocs/js/jquery.crosspost.js
--------------------------------------------------------------------------------
diff -r 1af706839efe -r 523707bab14d htdocs/js/jquery.crosspost.js
--- a/htdocs/js/jquery.crosspost.js	Tue Nov 01 16:36:41 2011 +0800
+++ b/htdocs/js/jquery.crosspost.js	Tue Nov 01 18:09:03 2011 +0800
@@ -237,7 +237,7 @@
     if( allowThisCrosspost ) {
         $msg.remove();
     } else if ( $msg.length == 0 ) {
-        var $p = $("<p></p>", { class: msg_class, id: msg_id }).text(self.options.strings.crosspostDisabled[why]);
+        var $p = $("<p></p>", { "class": msg_class, "id": msg_id }).text(self.options.strings.crosspostDisabled[why]);
         $p.insertBefore("#crosspost_accounts");
     }
 
--------------------------------------------------------------------------------