Fix error saving automatic tags

This commit is contained in:
Dan Stillman 2008-10-17 17:31:34 +00:00
parent d5215618aa
commit 9373e19aa8

View file

@ -213,7 +213,7 @@ Zotero.Tag.prototype.save = function () {
this.type = 0;
}
if (this.type !== 0 && this.type !== 1) {
if (this.type !== 0 && this.type != 1) {
throw ('Invalid tag type ' + this.type + ' in Zotero.Tag.save()');
}