Skip to content

Commit

Permalink
Fix tag requires double click after first tag (#877)
Browse files Browse the repository at this point in the history
  • Loading branch information
wilco375 authored Oct 11, 2024
1 parent 841c4fe commit 8b30b52
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions app/components/photo-tags/photo-tags.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ export default class PhotoTags extends Component {
e.stopPropagation();
this.newTagX = null;
this.newTagY = null;
console.log('Closed tag', element);
};

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

@action
openUserSelect(userSelect) {
if (this.selectApi == null) {
this.selectApi = userSelect;
}
this.selectApi = userSelect;
}

get newTagStyle() {
Expand Down

0 comments on commit 8b30b52

Please sign in to comment.