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:53 am

[dw-free] ajaxy cuttag doesn't work in IE with jQuery beta

[commit: http://hg.dwscoalition.org/dw-free/rev/3da3a8a5680f]

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

Remove trailing commas.

Patch by [personal profile] fu.

Files modified:
  • htdocs/js/jquery.cuttag-ajax.js
--------------------------------------------------------------------------------
diff -r 523707bab14d -r 3da3a8a5680f htdocs/js/jquery.cuttag-ajax.js
--- a/htdocs/js/jquery.cuttag-ajax.js	Tue Nov 01 18:09:03 2011 +0800
+++ b/htdocs/js/jquery.cuttag-ajax.js	Tue Nov 01 18:54:27 2011 +0800
@@ -215,7 +215,7 @@
 
         if ( aria_closed ) {
             var a_exp = $("<a>",{
-                'aria-controls': aria_closed,
+                'aria-controls': aria_closed
             });
             a_exp.append(el_exp);
             el_exp = a_exp;
@@ -238,7 +238,7 @@
         });
         if ( aria_open ) {
             var a_col = $("<a>",{
-                'aria-controls': aria_open,
+                'aria-controls': aria_open
             });
             a_col.append(el_col);
             el_col = a_col;
--------------------------------------------------------------------------------