mirror of
https://github.com/lingble/talos.git
synced 2025-11-29 20:33:47 +00:00
16 lines
372 B
JavaScript
Executable File
16 lines
372 B
JavaScript
Executable File
$(document).ready(function () {
|
|
$("body").on("mouseenter", ".navbar-link", function (e) {
|
|
$( this ).next().addClass('open');
|
|
e.preventDefault()
|
|
e.stopImmediatePropagation();
|
|
});
|
|
|
|
$("body").on("mouseleave", ".navbar-item", function (e) {
|
|
$( ".navbar-popover" ).removeClass('open');
|
|
e.preventDefault()
|
|
e.stopImmediatePropagation();
|
|
});
|
|
});
|
|
|
|
|