jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/350441 )

Change subject: Remove workarounds for IE8
......................................................................


Remove workarounds for IE8

Since MediaWiki 1.27 JavaScript is disabled on Internet Explorer 8.

Bug: T123219
Change-Id: If8e36d5cf39531ca9c599131847f612d17c31166
---
M modules/jquery.wikiEditor.js
1 file changed, 0 insertions(+), 12 deletions(-)

Approvals:
  Krinkle: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/jquery.wikiEditor.js b/modules/jquery.wikiEditor.js
index c0d35db..d943780 100644
--- a/modules/jquery.wikiEditor.js
+++ b/modules/jquery.wikiEditor.js
@@ -358,10 +358,6 @@
                                 */
                                trigger: function ( name, event ) {
                                        var returnFromModules, module, ret;
-                                       // Workaround for a scrolling bug in 
IE8 (bug 61908)
-                                       if ( profile.name === 'msie' && 
profile.versionNumber === 8 ) {
-                                               context.$textarea.css( 'width', 
context.$textarea.parent().width() );
-                                       }
 
                                        // Event is an optional argument, but 
from here on out, at least the type field should be dependable
                                        if ( typeof event === 'undefined' ) {
@@ -525,14 +521,6 @@
                                        }
                                }
                        };
-
-                       /**
-                        * Workaround for a scrolling bug in IE8 (bug 61908)
-                        */
-                       if ( profile.name === 'msie' && profile.versionNumber 
=== 8 ) {
-                               context.$textarea.css( 'height', 
context.$textarea.height() );
-                               context.$textarea.css( 'width', 
context.$textarea.parent().width() );
-                       }
 
                        /**
                        * Base UI Construction

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

Gerrit-MessageType: merged
Gerrit-Change-Id: If8e36d5cf39531ca9c599131847f612d17c31166
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikiEditor
Gerrit-Branch: master
Gerrit-Owner: Fomafix <[email protected]>
Gerrit-Reviewer: Krinkle <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to