Skip to content

Commit

Permalink
chore: console info
Browse files Browse the repository at this point in the history
  • Loading branch information
nexmoe committed Apr 30, 2023
1 parent 2fe9190 commit 6f9bc92
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/contentScripts/views/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ watch(
const data = JSON.parse(JSON.stringify(listData.value))
browser.storage.sync.set({ listData: data }).then(
() => {
window.console.log('OK')
window.console.log('Watching listData Done')
},
(error: Error) => {
window.console.log(error)
Expand Down Expand Up @@ -280,11 +280,10 @@ window.setInterval(() => {
if (url_prec !== window.location.href) {
url_prec = window.location.href
getActive()
window.onload = () => {
searchKeyword.value = getKeyword()
keyword.value = getKeyword()
loaded.value = true
}
window.console.log(`URL changed`)
searchKeyword.value = getKeyword()
keyword.value = getKeyword()
loaded.value = true
}
}, 1000)
Expand Down

0 comments on commit 6f9bc92

Please sign in to comment.