r87330 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87329‎ | r87330 | r87331 >
Date:15:53, 3 May 2011
Author:maxsem
Status:ok
Tags:
Comment:
jQuery 1.6 compatibility
Modified paths:
  • /trunk/extensions/ApiSandbox/ext.apiSandbox.js (modified) (history)

Diff [purge]

Index: trunk/extensions/ApiSandbox/ext.apiSandbox.js
@@ -61,7 +61,7 @@
6262 name = info.prefix + param.name,
6363 $node = $( '#param-' + name );
6464 if ( param.type == 'boolean' ) {
65 - if ( $node.attr( 'checked' ) ) {
 65+ if ( $node.is( ':checked' ) ) {
6666 params += '&' + name;
6767 }
6868 } else {

Status & tagging log