1
0
mirror of https://gitee.com/bitdance-team/chrome-extension synced 2025-10-08 16:55:17 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

修复截图完毕后没有取消注入脚本问题;翻译和截图按钮点击后关闭popup

This commit is contained in:
2022-02-09 19:37:37 +08:00
parent 6d6ccc6f34
commit dcd8d152cc
3 changed files with 4 additions and 3 deletions

View File

@@ -95,6 +95,6 @@ document.getElementById("weatherSite").onclick = function() {
document.getElementById("transform").onclick = function () {
console.log(chrome.extension.getBackgroundPage())
chrome.extension.getBackgroundPage().tranBit()
window.close();
}
//翻译end