summaryrefslogtreecommitdiff
path: root/resources/mediawiki.action/mediawiki.action.view.dblClickEdit.js
diff options
context:
space:
mode:
Diffstat (limited to 'resources/mediawiki.action/mediawiki.action.view.dblClickEdit.js')
-rw-r--r--resources/mediawiki.action/mediawiki.action.view.dblClickEdit.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/resources/mediawiki.action/mediawiki.action.view.dblClickEdit.js b/resources/mediawiki.action/mediawiki.action.view.dblClickEdit.js
deleted file mode 100644
index 727a5251..00000000
--- a/resources/mediawiki.action/mediawiki.action.view.dblClickEdit.js
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * This module enables double-click-to-edit functionality.
- */
-( function ( mw, $ ) {
- $( function () {
- mw.util.$content.dblclick( function ( e ) {
- e.preventDefault();
- // Trigger native HTMLElement click instead of opening URL (bug 43052)
- $( '#ca-edit a' ).get( 0 ).click();
- } );
- } );
-}( mediaWiki, jQuery ) );