Gerrit Patch Uploader has uploaded a new change for review.
https://gerrit.wikimedia.org/r/115378
Change subject: Workaround for a scrolling bug in IE8 on resize
......................................................................
Workaround for a scrolling bug in IE8 on resize
Bug: 61910
Change-Id: I6dacc1ed2f2fdf4ea615a477b711dc78667bae68
---
M modules/jquery.wikiEditor.js
1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikiEditor
refs/changes/78/115378/1
diff --git a/modules/jquery.wikiEditor.js b/modules/jquery.wikiEditor.js
index 85030b6..4c04366 100644
--- a/modules/jquery.wikiEditor.js
+++ b/modules/jquery.wikiEditor.js
@@ -327,6 +327,11 @@
* Executes core event filters as well as event handlers
provided by modules.
*/
trigger: function ( name, event ) {
+ // Workaround for a scrolling bug in IE8 (bug 61908)
+ if ( $.client.profile().name === 'msie' ) {
+ 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' ) {
event = { 'type': 'custom' };
@@ -485,6 +490,7 @@
*/
if ( $.client.profile().name === 'msie' ) {
context.$textarea.css( 'height', context.$textarea.height() );
+ context.$textarea.css( 'width',
context.$textarea.parent().width() );
}
/**
--
To view, visit https://gerrit.wikimedia.org/r/115378
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6dacc1ed2f2fdf4ea615a477b711dc78667bae68
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikiEditor
Gerrit-Branch: master
Gerrit-Owner: Gerrit Patch Uploader <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits