Kaldari has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/316506

Change subject: Fixing broken browser test for text rotation
......................................................................

Fixing broken browser test for text rotation

jquery-client expects an array of rulesets, not just a ruleset.

Also switching writing-mode to -ms-writing-mode.

Bug: T105846
Change-Id: If30615c5dda64c6e15f54d969add6007579ce777
---
M modules/ext.pageTriage.views.toolbar/ext.pageTriage.toolbarView.js
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/PageTriage 
refs/changes/06/316506/1

diff --git a/modules/ext.pageTriage.views.toolbar/ext.pageTriage.toolbarView.js 
b/modules/ext.pageTriage.views.toolbar/ext.pageTriage.toolbarView.js
index 2650663..08327c6 100644
--- a/modules/ext.pageTriage.views.toolbar/ext.pageTriage.toolbarView.js
+++ b/modules/ext.pageTriage.views.toolbar/ext.pageTriage.toolbarView.js
@@ -113,8 +113,8 @@
 
                                                // since transform only works 
in IE 9 and higher, use writing-mode
                                                // to rotate the minimized 
toolbar content in older versions
-                                               if ( $.client.test( { msie: [ 
'<', 9 ] }, null, true ) ) {
-                                                       $( 
'#mwe-pt-toolbar-vertical' ).css( 'writing-mode', 'tb-rl' );
+                                               if ( $.client.test( { msie: [[ 
'<', 9 ]] }, null, true ) ) {
+                                                       $( 
'#mwe-pt-toolbar-vertical' ).css( '-ms-writing-mode', 'tb-rl' );
                                                }
 
                                                // make the close button do 
something

-- 
To view, visit https://gerrit.wikimedia.org/r/316506
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If30615c5dda64c6e15f54d969add6007579ce777
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/PageTriage
Gerrit-Branch: master
Gerrit-Owner: Kaldari <rkald...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to