Skip to content

Commit

Permalink
Fix breakage in the connector from 365e582
Browse files Browse the repository at this point in the history
  • Loading branch information
dstillman committed Oct 5, 2017
1 parent e14b8f9 commit 492e791
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion chrome/content/zotero/xpcom/http.js
Expand Up @@ -65,7 +65,10 @@ Zotero.HTTP = new function() {
this[i] = options[i];
}
};
this.SecurityException.prototype = Object.create(Zotero.Error.prototype);
this.SecurityException.prototype = Object.create(
// Zotero.Error not available in the connector
Zotero.Error ? Zotero.Error.prototype : Error.prototype
);


this.promise = function () {
Expand Down

0 comments on commit 492e791

Please sign in to comment.