Skip to content

Commit

Permalink
fix: add vocabulary error
Browse files Browse the repository at this point in the history
  • Loading branch information
Leon406 committed Jun 14, 2024
1 parent f451652 commit ab0eba9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion public/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "__MSG_appName__",
"description": "__MSG_appDesc__",
"default_locale": "zh_CN",
"version": "0.5.6",
"version": "0.5.7",
"icons": {
"48": "assets/result48.png",
"128": "assets/icon_128.png"
Expand Down
5 changes: 0 additions & 5 deletions src/content_script.js
Original file line number Diff line number Diff line change
Expand Up @@ -296,10 +296,6 @@ function hideBubble(force) {
}
}

function hideBubbleForce() {
hideBubble(true)
}

function process_hl_leave() {
node_to_render_id = null
setTimeout(function() {
Expand Down Expand Up @@ -810,7 +806,6 @@ function initForPage() {

const bubbleDOM = create_bubble()
document.body.appendChild(bubbleDOM)
document.addEventListener('mousedown', hideBubbleForce, false)
document.addEventListener('mousemove', processMouse, false)
new MutationObserver((mutationList, observer) => {
mutationList.forEach(onNodeChanged)
Expand Down

0 comments on commit ab0eba9

Please sign in to comment.