mirror of
https://github.com/zotero/zotero.git
synced 2026-10-05 02:43:38 +00:00
Fix race condition when running bookmarklet from Standalone server
This commit is contained in:
parent
5a664ec3d9
commit
80b10184b0
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue