Fix error saving automatic tags
This commit is contained in:
parent
d5215618aa
commit
9373e19aa8
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue