Fix race condition when running bookmarklet from Standalone server
This commit is contained in:
parent
5a664ec3d9
commit
80b10184b0
|
@ -74,7 +74,8 @@ Zotero.Connector = new function() {
|
|||
|
||||
_ieConnectorCallbacks = [];
|
||||
var listener = function(event) {
|
||||
if(event.origin !== "http://127.0.0.1:23119") return;
|
||||
if(event.origin !== "http://127.0.0.1:23119"
|
||||
|| event.source !== iframe.contentWindow) return;
|
||||
if(event.stopPropagation) {
|
||||
event.stopPropagation();
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue
Block a user