r53847 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r53846‎ | r53847 | r53848 >
Date:00:10, 28 July 2009
Author:tparscal
Status:deferred
Tags:
Comment:
Fixed RTL problem that made the search label apear on the wrong side.
Modified paths:
  • /trunk/extensions/UsabilityInitiative/SimpleSearch/SimpleSearch.js (modified) (history)

Diff [purge]

Index: trunk/extensions/UsabilityInitiative/SimpleSearch/SimpleSearch.js
@@ -12,12 +12,12 @@
1313 .css({
1414 'display': 'none',
1515 'position' : 'absolute',
16 - 'left': 0,
1716 'bottom': 0,
1817 'padding': '0.25em',
1918 'color': '#999999',
2019 'cursor': 'text'
2120 })
 21+ .css( ( $( 'body.rtl' ).size() > 0 ? 'right' : 'left' ), 0 )
2222 .click( function() {
2323 $(this).parent().find( 'input#searchInput' ).focus();
2424 })

Status & tagging log