Use .prop instead of .attr where appropriate
[lhc/web/wiklou.git] / resources / mediawiki.special / mediawiki.special.recentchanges.js
index 7e284fb..ed7ed37 100644 (file)
@@ -20,7 +20,7 @@
 
                        // Iterates over checkboxes and propagate the selected option
                        $.each( checkboxes, function( i, id ) {
-                               $( '#' + id ).attr( 'disabled', isAllNS );
+                               $( '#' + id ).prop( 'disabled', isAllNS );
                        });
                },