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