$("button").on("click", () => {
    console.log($("button").is(":hover"));
  window.scrollTo(0,0);
  console.log($("button").is(":hover"));
})<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<button style="margin-top:600px;">
CLICK
</button>// method called on button click
showTab(n) {
    this.tabs.each((idx, tab) => {
        $(tab).hide();
    });
    $(this.tabs[n]).show();
    this.currentTab = parseInt(n);
    window.scrollBy(-100, -100);
    window.scrollTo(0,0);
}
at the end of that code the NextButton.is(":hover") returns true, it shows also in button style. I cannot figure out why. Any ideas? Is there a way to "unhover" the button with jQuery?
 
    