Skip to content

Commit

Permalink
Fixed some bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohab Yaser committed Nov 15, 2023
1 parent f506e72 commit b5547cf
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,11 @@ function load_from_local_storage() {
problems_cnt.value = localStorage.getItem('problems_cnt');

let handles = localStorage.getItem('handles').trim().split(',');
console.log(handles);

for (let i = 0; i < handles.length; i++) {
add_handle(handles[i]);
if (handles.length > 1) {
for (let i = 0; i < handles.length; i++) {
add_handle(handles[i]);
}
}
}

Expand Down

0 comments on commit b5547cf

Please sign in to comment.