Make aside ltr so it would overflow to right always

Proposed on https://meta.wikimedia.org/w/index.php?diff=9752968&oldid=9752027

Change-Id: I9546bc40cf600cddb3af124cb5b937c3ee739d4a
This commit is contained in:
Reza 2014-09-04 22:33:53 +00:00
parent 91b7bd265a
commit 00e1980e4b

View file

@ -138,7 +138,7 @@
if ( item instanceof mw.mmv.model.IwTitle ) { if ( item instanceof mw.mmv.model.IwTitle ) {
// external link - show the wiki name next to it // external link - show the wiki name next to it
return $( '<li>' ).append( pageLink ).append( return $( '<li>' ).append( pageLink ).append(
$( '<aside>' ).text( item.getDomain() ) $( '<aside>', { text: item.getDomain(), dir: 'ltr' } )
); );
} else { } else {
return $( '<li>' ).append( pageLink ); return $( '<li>' ).append( pageLink );