r105395 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r105394‎ | r105395 | r105396 >
Date:00:39, 7 December 2011
Author:preilly
Status:ok
Tags:
Comment:
clean-up spacing and remove commented out code
Modified paths:
  • /trunk/extensions/MobileFrontend/javascripts/beta_application.js (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/javascripts/beta_application.js
@@ -46,14 +46,9 @@
4747 function clearSearchBox( event ) {
4848 search.value = '';
4949 clearSearch.style.display = 'none';
50 - // if ( results ) {
51 - // results.style.display = 'none';
52 - // }
5350 if ( event ) {
5451 event.preventDefault();
5552 }
56 - // removeResults();
57 - // search.blur();
5853 }
5954
6055 function logoClick() {
@@ -69,7 +64,6 @@
7065 }
7166 };
7267
73 -// And this...
7468 for ( var a = document.getElementsByTagName( 'a' ), i = 0; i < a.length; i++ ) {
7569 a[i].onclick = function() {
7670 if ( this.hash.indexOf( '#' ) == 0 ) {

Status & tagging log