summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/Translate/resources/js/ext.translate.dropdownmenu.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/wiki/extensions/Translate/resources/js/ext.translate.dropdownmenu.js')
-rw-r--r--www/wiki/extensions/Translate/resources/js/ext.translate.dropdownmenu.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/wiki/extensions/Translate/resources/js/ext.translate.dropdownmenu.js b/www/wiki/extensions/Translate/resources/js/ext.translate.dropdownmenu.js
index 0b1eb02d..a3333801 100644
--- a/www/wiki/extensions/Translate/resources/js/ext.translate.dropdownmenu.js
+++ b/www/wiki/extensions/Translate/resources/js/ext.translate.dropdownmenu.js
@@ -1,7 +1,7 @@
-( function ( $ ) {
+( function () {
'use strict';
- $( document ).ready( function () {
+ $( function () {
// Hide the dropdown menu when clicking outside of it
$( 'html' ).on( 'click', function ( e ) {
if ( !e.isDefaultPrevented() ) {
@@ -9,4 +9,4 @@
}
} );
} );
-} )( jQuery );
+}() );