Skip to content

Commit a615906

Browse files
author
hoang.tran12
committed
refactor
1 parent 0bce4ee commit a615906

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

popup/helpers/checkForUpdate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export async function checkForUpdate() {
1212

1313
const { version_check, source_code } = config;
1414
const lastestVer = (await (await fetch(version_check)).json()).version;
15-
if (lastestVer >= currentVer) {
15+
if (lastestVer > currentVer) {
1616
updateBtn.style.display = "inline-block";
1717
updateBtn.innerHTML = t({
1818
vi: "cập nhật v" + lastestVer,

scripts/smoothScroll.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,11 @@ export default {
114114
},
115115
};
116116

117-
// TODO: setting page + horizontal scroll + fix window.scrollTo with behavior: "smooth"
117+
// TODO:
118+
// + setting page
119+
// + horizontal scroll
120+
// + fix window.scrollTo with behavior: "smooth"
121+
// + check excluded
118122

119123
// https://chromewebstore.google.com/detail/smoothscroll/nbokbjkabcmbfdlbddjidfmibcpneigj
120124
export function run() {

0 commit comments

Comments
 (0)