Hello Everyone! I'm getting this Error from my Console. Here is my Screenshot:

Liferay.on("endNavigate", (function(e) {
dropdownMegaMenu(),
secondaryNavMobile()
}
)),
Liferay.on("endNavigate", (function(e) {
$(".banner-prompt-display").length && $(".banner-prompt").delay(2e3).slideDown("slow", (function() {}
))
}
));

How can i remove this error from my console? i would be very happy if anyone can able to fix this issues. Thank you!!
If your only purpose is to remove that error from console, you can add
console.clear();
at the end of your JavaScript file, where you have used Liferay keyword. It would clear all the logs and error from your console.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With