From 6da466200788172e8fdebf5f7387c43b3546b481 Mon Sep 17 00:00:00 2001 From: simon Date: Thu, 12 Jan 2023 23:37:17 +0700 Subject: [PATCH] linter... linter... --- extension/script.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extension/script.js b/extension/script.js index 7338588..7cbaf55 100644 --- a/extension/script.js +++ b/extension/script.js @@ -171,7 +171,7 @@ function buildDlLink(channelContainer) { if (window.location.pathname === '/watch') { subText = currentLocation; } else { - subText = channelContainer.querySelector('#text').textContent + " " + currentLocation; + subText = channelContainer.querySelector('#text').textContent + ' ' + currentLocation; } e.target.title = 'TA Download: ' + subText; @@ -373,8 +373,8 @@ function sendUrl(url, action, button) { console.log('youtube link: ' + JSON.stringify(payload)); - // let sending = browserType.runtime.sendMessage(payload); - // sending.then(handleResponse, handleError); + let sending = browserType.runtime.sendMessage(payload); + sending.then(handleResponse, handleError); } let throttleBlock;