mirror of https://github.com/gorhill/uBlock.git
Use `const` when value does not change
This commit is contained in:
parent
c7bed84ab8
commit
d536c7ab11
|
@ -3558,7 +3558,7 @@ FilterContainer.prototype.filterQuery = function(fctxt) {
|
|||
const directives = this.matchAndFetchModifiers(fctxt, 'queryprune');
|
||||
if ( directives === undefined ) { return; }
|
||||
const url = fctxt.url;
|
||||
let qpos = url.indexOf('?');
|
||||
const qpos = url.indexOf('?');
|
||||
if ( qpos === -1 ) { return; }
|
||||
const params = new self.URLSearchParams(url.slice(qpos + 1));
|
||||
const out = [];
|
||||
|
|
Loading…
Reference in New Issue