r76988 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76987‎ | r76988 | r76989 >
Date:00:18, 19 November 2010
Author:krinkle
Status:ok
Tags:
Comment:
Follow-up r76987. Apparently this works better in Firefox 2.
Modified paths:
  • /trunk/phase3/resources/mediawiki.util/mediawiki.util.js (modified) (history)

Diff [purge]

Index: trunk/phase3/resources/mediawiki.util/mediawiki.util.js
@@ -54,7 +54,7 @@
5555 $('input[type=checkbox]:not(.noshiftselect)').checkboxShiftClick();
5656
5757 // Emulate placeholder if not supported by browser
58 - if ( !'placeholder' in document.createElement( 'input' ) ) {
 58+ if ( !( 'placeholder' in document.createElement( 'input' ) ) ) {
5959 $('input[placeholder]').placeholder();
6060 }
6161

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r76987jquery.placeholder.js rewritten...krinkle00:12, 19 November 2010

Status & tagging log