r83152 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r83151‎ | r83152 | r83153 >
Date:18:01, 3 March 2011
Author:catrope
Status:ok
Tags:
Comment:
1.17wmf1: (bug 27837) Fix placeholder bug by removing seemingly useless else branch
Modified paths:
  • /branches/wmf/1.17wmf1/resources/jquery/jquery.placeholder.js (modified) (history)

Diff [purge]

Index: branches/wmf/1.17wmf1/resources/jquery/jquery.placeholder.js
@@ -33,8 +33,6 @@
3434 if ( this.value === '' ) {
3535 this.value = placeholder;
3636 $input.addClass( 'placeholder' );
37 - } else {
38 - $input.removeClass( 'placeholder' );
3937 }
4038 } )
4139

Follow-up revisions

RevisionCommit summaryAuthorDate
r83153Merge r83152 from 1.17wmf1 to trunkcatrope18:04, 3 March 2011

Status & tagging log