r101742 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r101741‎ | r101742 | r101743 >
Date:23:15, 2 November 2011
Author:preilly
Status:ok
Tags:
Comment:
fix for bug 32156 MobileFrontend does not update search box width at 180-degrees orientation
Modified paths:
  • /trunk/extensions/MobileFrontend/javascripts/opensearch.js (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/javascripts/opensearch.js
@@ -78,8 +78,9 @@
7979 function updateOrientationSearchWidth() {
8080 switch( window.orientation ) {
8181 case 0:
 82+ case -90:
8283 case 90:
83 - case -90:
 84+ case 180:
8485 setTimeout( "updateSearchWidth()", 200 );
8586 break;
8687 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r1017431.18wmf1: MFT r101742preilly23:17, 2 November 2011

Status & tagging log