Skip to content

Commit

Permalink
Update tags-input
Browse files Browse the repository at this point in the history
  • Loading branch information
tumpio committed Jul 7, 2020
1 parent 7ddd514 commit d56c4ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/options/RuleInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ RuleInput.prototype = {
validateTLDPattern: function () {
let isTldsPattern = !this.$(".any-url").checked && this.hostsTagsInput.value.some(isTLDHostPattern);
toggleHidden(!isTldsPattern, this.$(".form-group-tlds"));
this.tldsTagsInput.disabled = !isTLDHostPattern;
this.tldsTagsInput.disabled = !isTldsPattern;
if (isTldsPattern) {
if (this.tldsTagsInput.value.length === 0) {
this.$(".btn-tlds").classList.add("text-danger");
Expand Down
2 changes: 1 addition & 1 deletion src/options/lib/tags-input
Submodule tags-input updated 1 files
+1 −0 src/tags-input.js

0 comments on commit d56c4ef

Please sign in to comment.