From bee97e111f6f79e4a3e4a2377e01214279e42425 Mon Sep 17 00:00:00 2001 From: Amire80 Date: Sat, 16 Jul 2016 21:56:57 +0300 Subject: [PATCH] Make sure that positive/negative sign in displayed correctly In RTL UI the positive and negative numbers will appear on the wrong side unless the direction is defined explicitly. Change-Id: I39ef512993878daf10008e967ffd0492f7e1e80a --- modules/ext.RevisionSlider.RevisionListView.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/ext.RevisionSlider.RevisionListView.js b/modules/ext.RevisionSlider.RevisionListView.js index aab3a080..fa2408d7 100644 --- a/modules/ext.RevisionSlider.RevisionListView.js +++ b/modules/ext.RevisionSlider.RevisionListView.js @@ -229,6 +229,9 @@ $changeNumber = $( '' ) .addClass( changeSizeClass ) + .attr( { + dir: 'ltr' // Make sure that minus/plus is on the left + } ) .text( leadingSign + mw.language.convertNumber( relativeSize ) ); return $( '

' ).append(