diff options
author | gorhill <rhill@raymondhill.net> | 2015-03-22 00:36:14 -0400 |
---|---|---|
committer | gorhill <rhill@raymondhill.net> | 2015-03-22 00:36:14 -0400 |
commit | 0797d040740de8e9f75527448c628faf80f8ebc7 (patch) | |
tree | edbe9d1b09939fc1b61553aa530cc8b37f54fe53 /src/js | |
parent | 4aec3404c4fab95ab4ac0abc0e20c5737312475d (diff) | |
download | uBlock-0797d040740de8e9f75527448c628faf80f8ebc7.zip uBlock-0797d040740de8e9f75527448c628faf80f8ebc7.tar.gz uBlock-0797d040740de8e9f75527448c628faf80f8ebc7.tar.bz2 |
epicker: ignore URI without a hostname
Diffstat (limited to 'src/js')
-rw-r--r-- | src/js/element-picker.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/element-picker.js b/src/js/element-picker.js index b81a949..b3265c5 100644 --- a/src/js/element-picker.js +++ b/src/js/element-picker.js @@ -248,7 +248,7 @@ var netFilterFromUnion = (function() { var from = lastNetFilterUnion; // Reset reference filter when dealing with unrelated URLs - if ( from === '' || a.host !== lastNetFilterHostname ) { + if ( from === '' || a.host === '' || a.host !== lastNetFilterHostname ) { lastNetFilterHostname = a.host; lastNetFilterUnion = to; localMessager.send({ |