r105389 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r105388‎ | r105389 | r105390 >
Date:00:22, 7 December 2011
Author:preilly
Status:ok
Tags:
Comment:
remove unneeded space
Modified paths:
  • /trunk/extensions/MobileFrontend/javascripts/beta_opensearch.js (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/javascripts/beta_opensearch.js
@@ -62,7 +62,7 @@
6363 sb.style.border = 0 + pixels;
6464 logo.style.visibility = 'hidden';
6565 goButton.style.visibility = 'hidden';
66 -
 66+
6767 var pE = document.getElementById( 'placeholder' );
6868 if ( !pE ) {
6969 pT = document.createElement( 'span' );
@@ -81,11 +81,11 @@
8282 pE.style.display = 'block';
8383 search.style.backgroundColor = 'transparent';
8484 }
85 -
 85+
8686 if ( pE && search.value != '' ) {
8787 pE.style.display = 'none';
8888 }
89 -
 89+
9090 var removeResults = document.getElementById( 'remove-results' );
9191 if ( !removeResults ) {
9292 rrd = document.createElement( 'a' );

Sign-offs

UserFlagDate
Sumanahinspected17:59, 7 December 2011

Status & tagging log