Index: trunk/extensions/Narayam/js/ext.narayam.core.js |
— | — | @@ -475,7 +475,8 @@ |
476 | 476 | that.setScheme( savedScheme ); |
477 | 477 | $( '#narayam-' + savedScheme ).attr( 'checked', 'checked' ); |
478 | 478 | } else { |
479 | | - $('input.narayam-scheme')[0].attr( 'checked', 'checked' ); |
| 479 | + //if no saved input scheme, select the first. |
| 480 | + $('input.narayam-scheme:first').attr( 'checked', 'checked' ); |
480 | 481 | } |
481 | 482 | var enabledCookie = $.cookie( 'narayam-enabled' ); |
482 | 483 | if ( enabledCookie == '1' || ( mw.config.get( 'wgNarayamEnabledByDefault' ) && enabledCookie !== '0' ) ) { |