Bootstrap Modal 在启动后隐藏了很棒的图标

问题描述

我收到这条消息,使用 bootstrap.modal.js 加载引导模式后,字体很棒的图标不再可见

jquery.min.js:4 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help,check https://xhr.spec.whatwg.org/.

这是我调用模态的代码。任何帮助将不胜感激。为什么当模态启动时我的字体很棒的图标会自动隐藏。

 if (auth=="False"){
$('.buyNow').click(function () {
    console.log("clicked");   
   // $('.register-btn').trigger('click');
    console.log("clicked2");
   
        $('.buyNow').modalForm({
              modaliD: "#registerModal",formURL: "/login-modal/?next=/checkout/?pkg="+this.id,});
      

    //Confirm('Download PDF ','Are you sure you want to download PDF','Yes','Cancel',"/pdf/?quiz="+this.id); 
  });
}
else{
    window.open("/checkout/?pkg="+this.id );

}

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)