Is there a bug with confirm() popups on chrome 75 (windows 7, MacOS)?

可紊 提交于 2020-01-16 08:59:54

问题


It seems that on chrome 75, with windows 7, confirm() popups are not working properly anymore and closing immediatly.

Tried it on chrome 74 just before, it worked well !

EDIT : This issue is also happening on MacOS

EDIT 2 : On the concerned website, it seems that disabling ads avoids the issue. There should be some JS conflict

Can someone tell me if you met this issue ?

    $("#addExchange").on("click", function(event){
        if(confirm("Are you sure ?")) {
            this.form.submit();
        }
    })
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>

<div id="addExchange">Example</div>

来源:https://stackoverflow.com/questions/56633041/is-there-a-bug-with-confirm-popups-on-chrome-75-windows-7-macos

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!