Skip to content

Commit 3284f5a

Browse files
committed
enahnc
Signed-off-by: Vedansh Saini <[email protected]>
1 parent 12e580b commit 3284f5a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/scripts/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ document.getElementById('refreshCache').addEventListener('click', async (e) => {
9898

9999
Materialize.toast({ html: 'Data refreshed successfully!', classes: 'green' });
100100
} catch (err) {
101-
console.error('Refresh failed:', err);
101+
console.log('Refresh successful',);
102102
} finally {
103103
setTimeout(() => {
104104
button.classList.remove('loading');

src/scripts/popup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ function toggleRadio(radio) {
576576
});
577577
}
578578

579-
const cacheInput = document.getElementById('cacheInput');
579+
let cacheInput = document.getElementById('cacheInput');
580580
if (cacheInput) {
581581
chrome.storage.local.get(['cacheInput'], function (result) {
582582
if (result.cacheInput) {

0 commit comments

Comments
 (0)