diff --git a/modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget.init.css b/modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget.init.css index 0c0f9d74a9..27c5b005ef 100644 --- a/modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget.init.css +++ b/modules/ve-mw/init/styles/ve.init.mw.DesktopArticleTarget.init.css @@ -44,7 +44,6 @@ .ve-loading #content > :not( .ve-init-mw-desktopArticleTarget-loading-overlay ), /* Once activated, all uneditable content except catlinks */ .ve-activated .ve-init-mw-desktopArticleTarget-uneditableContent { - /* IE9 is supported with JS events */ pointer-events: none; -webkit-user-select: none; -moz-user-select: none; diff --git a/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.js b/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.js index 665cb97223..75b6417f22 100644 --- a/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.js +++ b/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.js @@ -878,7 +878,6 @@ ve.init.mw.DesktopArticleTarget.prototype.rebuildCategories = function ( categor } $categories = $( $.parseHTML( response.parse.categorieshtml ) ); target.transformCategoryLinks( $categories ); - target.disableUneditableContent( $categories ); mw.hook( 'wikipage.categories' ).fire( $categories ); $( '#catlinks' ).replaceWith( $categories ); } ); @@ -1239,8 +1238,6 @@ ve.init.mw.DesktopArticleTarget.prototype.transformPage = function () { $content = $content.parent(); } - this.disableUneditableContent(); - this.updateHistoryState(); }; @@ -1266,18 +1263,6 @@ ve.init.mw.DesktopArticleTarget.prototype.transformCategoryLinks = function ( $c } }; -/** - * Disabling of non-editable content, in a given context - * - * @param {jQuery|string} [context] Context to disable in - */ -ve.init.mw.DesktopArticleTarget.prototype.disableUneditableContent = function ( context ) { - $( '.ve-init-mw-desktopArticleTarget-uneditableContent', context ).on( 'click.ve-target', function ( e ) { - // Support IE9: Prevent default, but don't stop propagation - e.preventDefault(); - } ); -}; - /** * Update the history state based on the editor mode */