This is driving me crazy. I’m running Firefox 55.0.3 (64-bit) on Windows 10. Regardless of whether I click “OK” or “Cancel” on a popup confirmation dialog, the function always returns false. It works fine in Chrome, however.
If you’re running Firefox, please test the following line in your console and let me know the result:
console.log(window.confirm() ? 'OK' : 'Cancel');
If anyone knows why this is, please enlighten me!
EDIT: It works properly in Firefox on OSX 10.12, but not on Windows.
EDIT: This may be a Vue.js issue. Is anyone aware of Vue overwriting the built-in