Skip to content

Commit 61671fa

Browse files
committed
fix lint
1 parent 1f89ffd commit 61671fa

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/lib/recents.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ const recents = {
8686
return name;
8787
};
8888

89-
9089
if (type === "dir" || type === "all") {
9190
let dirs = this.folders;
9291
for (let dir of dirs) {
@@ -112,7 +111,7 @@ const recents = {
112111
ontailclick: (e) => {
113112
const $item = e.currentTarget.closest(".tile");
114113
if ($item) $item.remove();
115-
self.removeFolder(dir.url);
114+
this.removeFolder(dir.url);
116115
},
117116
});
118117
}
@@ -143,7 +142,7 @@ const recents = {
143142
ontailclick: (e) => {
144143
const $item = e.currentTarget.closest(".tile");
145144
if ($item) $item.remove();
146-
self.removeFile(file);
145+
this.removeFile(file);
147146
},
148147
});
149148
}

0 commit comments

Comments
 (0)