progress-table: don't show sidebar on key-information/get-started

There is no method set at this point, and it picks some random one
This commit is contained in:
lifehackerhansol 2024-09-03 03:51:37 -07:00
parent b0f3425642
commit e3c9ce5740
No known key found for this signature in database
GPG Key ID: 80FB184AFC0B3B0E
2 changed files with 1 additions and 6 deletions

View File

@ -221,11 +221,6 @@ $(document).ready(function() {
}
}
if((window.location.href.indexOf("/" + "key-information") > -1) || (window.location.href.indexOf("/" + "get-started") > -1)) {
localStorage.setItem('method', methods[method]);
sidebar_shown = true;
}
var device, method;
if(!(method = localStorage.getItem('method'))){
sidebar_shown = false;

File diff suppressed because one or more lines are too long