Skip to content

Commit 8b30b52

Browse files
authored
Fix tag requires double click after first tag (#877)
1 parent 841c4fe commit 8b30b52

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

app/components/photo-tags/photo-tags.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ export default class PhotoTags extends Component {
4848
e.stopPropagation();
4949
this.newTagX = null;
5050
this.newTagY = null;
51-
console.log('Closed tag', element);
5251
};
5352

5453
document.addEventListener('click', this.closeAddTagListener);
@@ -99,9 +98,7 @@ export default class PhotoTags extends Component {
9998

10099
@action
101100
openUserSelect(userSelect) {
102-
if (this.selectApi == null) {
103-
this.selectApi = userSelect;
104-
}
101+
this.selectApi = userSelect;
105102
}
106103

107104
get newTagStyle() {

0 commit comments

Comments
 (0)