Mercurial > ec-userscripts
diff mandarake-direct-link.user.js @ 72:17c94a818088
Update lint
author | nanaya <me@nanaya.pro> |
---|---|
date | Fri, 03 Apr 2020 22:00:21 +0900 |
parents | 444b17e657be |
children | 521dda0a0b6f |
line wrap: on
line diff
--- a/mandarake-direct-link.user.js Fri Apr 03 22:00:17 2020 +0900 +++ b/mandarake-direct-link.user.js Fri Apr 03 22:00:21 2020 +0900 @@ -30,7 +30,7 @@ var fixSearchLink = function (_i, el) { var query = new URLSearchParams(el.search) - for (let [key, value] of currentQuery) { + for (const [key, value] of currentQuery) { if (!query.has(key)) { query.set(key, value) }