(bug 26827) Fix JS error on IE caused by the rename of {save,restore}StuffForIE(...
authorRoan Kattouw <catrope@users.mediawiki.org>
Mon, 24 Jan 2011 02:58:12 +0000 (02:58 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Mon, 24 Jan 2011 02:58:12 +0000 (02:58 +0000)
resources/jquery/jquery.textSelection.js

index 1f2a1dd..2d1633b 100644 (file)
@@ -91,7 +91,7 @@ encapsulateSelection: function( options ) {
                        // IE
                        $(this).focus();
                        if ( context ) {
-                               context.fn.restoreStuffForIE();
+                               context.fn.restoreCursorAndScrollTop();
                        }
                        var selText = $(this).textSelection( 'getSelection' );
                        var scrollTop = this.scrollTop;
@@ -398,4 +398,4 @@ scrollToCaretPosition: function( options ) {
                context.fn.saveSelection();
        }
        return retval;
-};
\ No newline at end of file
+};