r101218 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r101217‎ | r101218 | r101219 >
Date:22:06, 28 October 2011
Author:preilly
Status:ok
Tags:
Comment:
Modified paths:
  • /branches/wmf/1.18wmf1/extensions/MobileFrontend/javascripts/opensearch.js (modified) (history)
  • /branches/wmf/1.18wmf1/extensions/MobileFrontend/stylesheets/common.css (modified) (history)

Diff [purge]

Index: branches/wmf/1.18wmf1/extensions/MobileFrontend/javascripts/opensearch.js
@@ -109,7 +109,7 @@
110110 var section = sections[i];
111111 var rel = i + 1;
112112 section.value = section.value.replace( /^(?:\/\/|[^\/]+)*\//, '/' );
113 - html = html + "<div class=\"suggestions-result\" rel=\"" + rel + "\" title=\"" + section.label + "\"><a href='" + section.value + "'>" + section.label + "</a><a class=\"sq-val-update\" href=\"javascript:sqValUpdate('" + section.label + "');\"> + </a></div>";
 113+ html = html + "<div class=\"suggestions-result\" rel=\"" + rel + "\" title=\"" + section.label + "\"><a href='" + section.value + "'>" + section.label + "</a><a class=\"sq-val-update\" href=\"javascript:sqValUpdate('" + section.label + "');\"> + &nbsp;</a></div>";
114114 if ( i < ( sections.length - 1 ) ) {
115115 html = html + '<hr />';
116116 }
Index: branches/wmf/1.18wmf1/extensions/MobileFrontend/stylesheets/common.css
@@ -57,6 +57,7 @@
5858 font-weight:normal;
5959 text-decoration: none;
6060 color: #000000;
 61+ float: right;
6162 }
6263 a.sq-val-update:link {
6364 text-decoration: none;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r101216float + suggestion to rightpreilly22:06, 28 October 2011

Status & tagging log