1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-02 00:42:45 +01:00

Trim content of Import field

Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/2380
This commit is contained in:
Raymond Hill 2022-11-23 12:55:20 -05:00
parent 3e4f6f9986
commit 8d80f4788d
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -368,7 +368,7 @@ const hashFromCurrentFromSettings = function() {
hash.push( hash.push(
listHash.sort().join(), listHash.sort().join(),
qs$('#importLists').checked && qs$('#importLists').checked &&
reValidExternalList.test(qs$('#externalLists').value), reValidExternalList.test(qs$('#externalLists').value.trim()),
qs$('#lists .listEntry.toRemove') !== null qs$('#lists .listEntry.toRemove') !== null
); );
return hash.join(); return hash.join();