From b3e5f47a0517469272508e85af401eaf39c8f4ae Mon Sep 17 00:00:00 2001 From: sienori Date: Fri, 8 Jun 2018 20:42:51 +0900 Subject: [PATCH] Fix an issue where an error log appeared when popup was opened --- simple-translate/popup/popup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simple-translate/popup/popup.js b/simple-translate/popup/popup.js index 6f7daa8..3710874 100644 --- a/simple-translate/popup/popup.js +++ b/simple-translate/popup/popup.js @@ -91,7 +91,7 @@ function getSelectionWord(tabs) { url = response.url; refleshSource(); showLink(); - }); + }).catch(()=>{}); } }