Skip to content

Commit 5389039

Browse files
authored
[FIX] tags remove error (playcanvas#2432)
1 parent 4b711a7 commit 5389039

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/tags.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Object.assign(TagsCache.prototype, {
5656
}
5757

5858
// by position in list
59-
var ind = this._index[tag].indexOf(item);
59+
var ind = this._index[tag].list.indexOf(item);
6060
if (ind === -1)
6161
return;
6262

0 commit comments

Comments
 (0)