Merge pull request #215 from aurimasv/typo

Fix typo in cookie sandbox.
This commit is contained in:
Simon Kornblith 2012-12-19 20:11:24 -08:00
commit 8b37031174

View file

@ -153,8 +153,9 @@ Zotero.CookieSandbox.Observer = new function() {
var ir = this.trackedInterfaceRequestors[i].get();
if(!ir) {
// The interface requestor is gone, so remove it from the list
this.trackedInterfaceRequestors.splice(i--, 1);
this.trackedInterfaceRequestorSandboxes.splice(i--, 1);
this.trackedInterfaceRequestors.splice(i, 1);
this.trackedInterfaceRequestorSandboxes.splice(i, 1);
i--;
} else if(ir == notificationCallbacks) {
// We are tracking this interface requestor
trackedBy = this.trackedInterfaceRequestorSandboxes[i];