Drop call of deprecated IE8-support method
authorEd Sanders <esanders@wikimedia.org>
Thu, 12 Oct 2017 15:11:25 +0000 (16:11 +0100)
committerEd Sanders <esanders@wikimedia.org>
Thu, 12 Oct 2017 15:11:25 +0000 (16:11 +0100)
Bug: T123219
Change-Id: Ie85dd4442e93f1f1745227f5f3f9d7ddefcd2d46

resources/src/jquery/jquery.textSelection.js

index c6ad945..522e95b 100644 (file)
                                                        // See bug T37201.
 
                                                        activateElementOnIE( this );
-                                                       if ( context ) {
-                                                               context.fn.restoreCursorAndScrollTop();
-                                                       }
                                                        if ( options.selectionStart !== undefined ) {
                                                                $( this ).textSelection( 'setSelection', { start: options.selectionStart, end: options.selectionEnd } );
                                                        }