Fix error saving automatic tags
This commit is contained in:
parent
5fb83c3df1
commit
1d0a66c1cf
|
@ -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()');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user