Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion js/buttons.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,5 +111,22 @@
$(document).on('click', '[data-buttons=dropdown] > a', function(e) {
e.preventDefault();
});

/* Barzon Added 20150526 */
//ON MOUSEENTER EVENT ADDED IF WANT TO DISPLAY MENU
$(document).on('mouseenter', '[data-buttons=dropdown]', function () {
$('[data-buttons=dropdown]').each(function () {
$(this).find('ul').hide();
});
$(this).find('ul').show();
});
$(document).on('click', function () {
$('[data-buttons=dropdown]').each(function () {
if ($(this).find('ul').css('display') === 'block') {
$(this).find('ul').hide();
}
});
});
/* Barzon End */

})( jQuery, window, document);
})( jQuery, window, document);