blob: 0b1eb02d2048404abe8309bff2d2b7dedd94c994 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
( function ( $ ) {
'use strict';
$( document ).ready( function () {
// Hide the dropdown menu when clicking outside of it
$( 'html' ).on( 'click', function ( e ) {
if ( !e.isDefaultPrevented() ) {
$( '.tux-dropdown-menu' ).addClass( 'hide' );
}
} );
} );
} )( jQuery );
|