Skip to content

Commit

Permalink
Creating view Trash and more restore options
Browse files Browse the repository at this point in the history
  • Loading branch information
subhas-pramanik-09 committed Jan 18, 2025
1 parent 3f0ad58 commit 43a63d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/activity.js
Original file line number Diff line number Diff line change
Expand Up @@ -3340,7 +3340,7 @@ class Activity {
);
return;
}
for(let i=this.blocks.trashStacks.length - 1;i<this.blocks.trashStacks.length;i++){
for(let i = this.blocks.trashStacks.length - 1; i < this.blocks.trashStacks.length; i++){
this._restoreTrashById(this.blocks.trashStacks[i]);
}
activity.textMsg(
Expand Down Expand Up @@ -3470,7 +3470,7 @@ class Activity {
restoreLastIcon.classList.add('restore-last-icon');
restoreLastIcon.innerHTML = '<i class="material-icons md-48">restore_from_trash</i>';
restoreLastIcon.addEventListener('click', () => {
for(let i=this.blocks.trashStacks.length - 1;i<this.blocks.trashStacks.length;i++){
for(let i = this.blocks.trashStacks.length - 1; i < this.blocks.trashStacks.length; i++){
this._restoreTrashById(this.blocks.trashStacks[i]);
}
trashView.classList.add('hidden');
Expand Down

0 comments on commit 43a63d0

Please sign in to comment.