1
0
mirror of https://github.com/hacks-guide/Guide_3DS.git synced 2025-08-30 11:49:52 +02:00

more strict url check

This commit is contained in:
Plailect
2017-09-29 10:35:39 -04:00
parent 568241d75d
commit 7c75c281ff
2 changed files with 3 additions and 3 deletions

View File

@@ -138,13 +138,13 @@ $(document).ready(function(){
};
for(var device in devices){
if(window.location.href.indexOf(device) > -1) {
if(window.location.href.indexOf("/" + device) > -1) {
localStorage.setItem('device', devices[device]);
}
}
for(var method in methods){
if(window.location.href.indexOf(method) > -1) {
if(window.location.href.indexOf("/" + method) > -1) {
localStorage.setItem('method', methods[method]);
}
}

File diff suppressed because one or more lines are too long