diff --git a/src/options/RuleInput.js b/src/options/RuleInput.js index 1a1f89f..1236f06 100644 --- a/src/options/RuleInput.js +++ b/src/options/RuleInput.js @@ -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"); diff --git a/src/options/lib/tags-input b/src/options/lib/tags-input index f83e5b3..dbd9820 160000 --- a/src/options/lib/tags-input +++ b/src/options/lib/tags-input @@ -1 +1 @@ -Subproject commit f83e5b3dbfe9cb37020d8454b2cb27f0fc52c1cc +Subproject commit dbd982047b8f54c50177ce06709e9306f27589d7