r111742 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r111741‎ | r111742 | r111743 >
Date:10:53, 17 February 2012
Author:jdlrobson
Status:ok
Tags:
Comment:
remove dependency between beta_opensearch.js and beta_application.js

define clear search in beta_opensearch.js
Modified paths:
  • /trunk/extensions/MobileFrontend/javascripts/beta_opensearch.js (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/javascripts/beta_opensearch.js
@@ -20,6 +20,7 @@
2121 var footer = document.getElementById( 'footer' );
2222 var zeroRatedBanner = document.getElementById( 'zero-rated-banner' ) ||
2323 document.getElementById( 'zero-rated-banner-red' );
 24+var clearSearch = document.getElementById( 'clearsearch' );
2425
2526 function hideResults() {
2627 results.style.display = 'none';

Status & tagging log