Fix error saving automatic tags

This commit is contained in:
Dan Stillman 2008-10-17 17:31:34 +00:00
parent 5fb83c3df1
commit 1d0a66c1cf

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()');
}