summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'MLEB/Translate/resources/js/ext.translate.dropdownmenu.js')
-rw-r--r--MLEB/Translate/resources/js/ext.translate.dropdownmenu.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/MLEB/Translate/resources/js/ext.translate.dropdownmenu.js b/MLEB/Translate/resources/js/ext.translate.dropdownmenu.js
index a3333801..ba2afa5e 100644
--- a/MLEB/Translate/resources/js/ext.translate.dropdownmenu.js
+++ b/MLEB/Translate/resources/js/ext.translate.dropdownmenu.js
@@ -3,7 +3,7 @@
$( function () {
// Hide the dropdown menu when clicking outside of it
- $( 'html' ).on( 'click', function ( e ) {
+ $( document.documentElement ).on( 'click', function ( e ) {
if ( !e.isDefaultPrevented() ) {
$( '.tux-dropdown-menu' ).addClass( 'hide' );
}