Skip to content

Commit

Permalink
progress-table: don't show sidebar on key-information/get-started
Browse files Browse the repository at this point in the history
There is no method set at this point, and it picks some random one
  • Loading branch information
lifehackerhansol committed Sep 3, 2024
1 parent b0f3425 commit e3c9ce5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions assets/js/_main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion assets/js/main.min.js

Large diffs are not rendered by default.

0 comments on commit e3c9ce5

Please sign in to comment.