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:
Derk-Jan Hartman 2015-07-22 21:06:28 +02:00
parent 10ff6c36de
commit 1b02e98296

View file

@ -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 ) {