jQuery breaks on version 4.2.25
-
My jquery dropdown menu code doesn’t work when I upgrade to the new version.
It should hide the menu but when upgraded to the newest version, it doesn’t. The previous version doesn’t affect it.
$(document).click(function(e) {
var target = e.target;
if (!$(target).is(‘li.dropdown a’) && !$(target).parents().is(‘li.dropdown a’)) {
$(‘.sub-one’).hide();
}
});
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘jQuery breaks on version 4.2.25’ is closed to new replies.