Hide hidden links & remove the overlay when one is clicked (#5042)
This commit is contained in:
parent
194c561d9d
commit
86faca6004
@ -103,7 +103,11 @@ $(function() {
|
||||
clearTimeout(timer);
|
||||
});
|
||||
|
||||
$hlinks.on('mouseleave', function() {
|
||||
$hlinks.on("click", function () {
|
||||
// Hide the hidden links & remove the overlay when one is clicked.
|
||||
$hlinks.addClass("hidden");
|
||||
$btn.removeClass("close");
|
||||
}).on('mouseleave', function() {
|
||||
// Mouse has left, start the timer
|
||||
timer = setTimeout(function() {
|
||||
$hlinks.addClass('hidden');
|
||||
|
Loading…
x
Reference in New Issue
Block a user