change var to let in extension
parent
1f6bcdb2ac
commit
861996afc3
|
@ -18,11 +18,9 @@ function getCookie(cname) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_url_parameter(sParam, sPageURL) {
|
function get_url_parameter(sParam, sPageURL) {
|
||||||
var sURLVariables = sPageURL.split('&'),
|
let sURLVariables = sPageURL.split('&'),
|
||||||
sParameterName,
|
sParameterName;
|
||||||
i;
|
for (let i = 0; i < sURLVariables.length; i++) {
|
||||||
|
|
||||||
for (i = 0; i < sURLVariables.length; i++) {
|
|
||||||
sParameterName = sURLVariables[i].split('=');
|
sParameterName = sURLVariables[i].split('=');
|
||||||
|
|
||||||
if (sParameterName[0] === sParam) {
|
if (sParameterName[0] === sParam) {
|
||||||
|
|
Loading…
Reference in New Issue