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