r112106 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112105‎ | r112106 | r112107 >
Date:13:50, 22 February 2012
Author:jdlrobson
Status:ok
Tags:
Comment:
remove redundant line for sizing results

the results in beta mode are 100% width by default
see #32175
Modified paths:
  • /trunk/extensions/MobileFrontend/javascripts/beta_opensearch.js (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/javascripts/beta_opensearch.js
@@ -49,7 +49,6 @@
5050 if ( !focused ) {
5151 MobileFrontend.utils( document.body ).addClass( 'full-screen-search' );
5252 sq.className = '';
53 - results.style.width = document.body.clientWidth + pixels;
5453
5554 pE = document.getElementById( 'placeholder' );
5655 if ( !pE ) {

Status & tagging log