Don't break cookie sandboxing

This commit is contained in:
Simon Kornblith 2012-02-13 21:03:01 -05:00
parent 4c97ee3ce5
commit 899e881f93

View file

@ -54,10 +54,10 @@ Zotero.CookieSandbox = function(browser, uri, cookieData) {
} }
} }
Zotero.CookieSandbox.Observer.register();
if(browser) { if(browser) {
this.attachToBrowser(browser); this.attachToBrowser(browser);
} }
Zotero.CookieSandbox.Observer.register();
} }
Zotero.CookieSandbox.prototype = { Zotero.CookieSandbox.prototype = {