I've got a web page with a button that I want to print the page and then redirect to another page. However, using Firefox 66, if I go through with the print, it doesn't redirect. If I cancel the print, it redirects just fine.
Here's the code:
If I remove the
window.print(); line, it works fine, but when actually printing, it does not. Also works on Chrome, Edge, and even IE11, but not Firefox.
Am I missing something?
Update: It's not just my computer. Other peoples' computers do the same on Firefox...