r92347 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r92346‎ | r92347 | r92348 >
Date:07:18, 16 July 2011
Author:junaidpv
Status:ok (Comments)
Tags:
Comment:
essage=Only selector that seems to work on text input elements is jQuery's proprietary :text selector with (from: http://api.jquery.com/text-selector/). With no performance boost.
Modified paths:
  • /trunk/extensions/Narayam/ext.narayam.js (modified) (history)

Diff [purge]

Index: trunk/extensions/Narayam/ext.narayam.js
@@ -3,7 +3,7 @@
44 */
55 ( function( $ ) {
66 $( document ).ready( function() {
7 - $.narayam.addInputs( 'input[type=text], input[type=search], input[type=], textarea' );
 7+ $.narayam.addInputs( 'input:text, input[type=search], textarea' );
88 $.narayam.setup();
99 } );
1010 } )( jQuery );

Comments

#Comment by Krinkle (talk | contribs)   19:54, 24 August 2011

Status & tagging log