mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-09-24 02:40:14 +00:00
Toolbar: Remove Opera redraw hack
The versions of Opera that this was targeting aren't really supported anymore anyways. So let's just remove this hack. Bug: T106574 Change-Id: I1b11fc8ec30f3c33b681daff7f676fa965fb78cb
This commit is contained in:
parent
10ff6c36de
commit
1b02e98296
|
@ -767,12 +767,6 @@ fn: {
|
|||
$.eachAsync( sectionQueue, {
|
||||
'bulk': 0,
|
||||
'end': function () {
|
||||
// HACK: Opera doesn't seem to want to redraw after these bits
|
||||
// are added to the DOM, so we can just FORCE it!
|
||||
var oldValue = $( 'body' ).css( 'position' );
|
||||
$( 'body' ).css( 'position', 'static' );
|
||||
$( 'body' ).css( 'position', oldValue );
|
||||
|
||||
context.$textarea.trigger( 'wikiEditor-toolbar-doneInitialSections' );
|
||||
},
|
||||
'loop': function ( i, s ) {
|
||||
|
|
Loading…
Reference in a new issue