Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
yairEO committed Feb 13, 2021
1 parent 128f335 commit a6a5b5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/tagify.min.js
Expand Up @@ -561,7 +561,7 @@
onClick: function onClick(e) {
var _this4 = this;

if (e.button != 0 || e.target == this.DOM.dropdown) return; // allow only mouse left-clicks
if (e.button != 0 || e.target == this.DOM.dropdown || e.target == this.DOM.dropdown.content) return; // allow only mouse left-clicks

var listItemElm = e.target.closest(this.settings.classNames.dropdownItemSelector); // temporary set the "actions" state to indicate to the main "blur" event it shouldn't run

Expand Down

0 comments on commit a6a5b5e

Please sign in to comment.