当前位置: 动力学知识库 > 问答 > 编程问答 >

javascript - Button working in chrome, but not firefox or ie?

问题描述:

Hey everyone so i have a custom login button which calls Meteor.loginWithTwitter(); like so:

This works great on Chrome, the twitter popup pops up etc.., but on Firefox and IE It doesnt do anything and spits this out in the console:

Error: Permission denied to access property "call"

in

events.js:423:10

Any idea as to whats going on here, and why it works in Chrome but not the others? I went and added the deault login buttons {{> loginButtons}} just to test and it does work on the other browsers but still outputs the same error.

网友答案:

Try the same code in your event helper in IE/Firefox console. This should give you an idea of what is going on.

网友答案:

Ok so removing ecwyne:polymer-elements package did the trick.

分享给朋友:
您可能感兴趣的文章:
随机阅读: