mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Use const when value does not change
This commit is contained in:
parent
c7bed84ab8
commit
d536c7ab11
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue