fix url not showing on deleting js

This commit is contained in:
Gergely Hegedus 2021-11-08 12:30:34 +02:00
parent 3eca7ba9ba
commit 31e643a82f
2 changed files with 2 additions and 2 deletions

View file

@ -20,10 +20,10 @@ var commentsToDelete = []
var isSampleShown = false var isSampleShown = false
chrome.runtime.sendMessage({greeting: "hello"}, function(response) { chrome.runtime.sendMessage({greeting: "hello"}, function(response) {
document.getElementById(SEARCH_DESCRIPTION_ID).innerHTML = "Searching through the comments of the following video: <a href=\"https://www.youtube.com/watch?v=" + response.videoUrl + "\">video link (" + response.videoUrl + ")</a> by the following user: <a href=\"https://www.youtube.com/channel/" + response.toDeleteUserId + "\">user profile (" + response.toDeleteUserId + ")</a>"
youtubeToken = response.youtubetoken; youtubeToken = response.youtubetoken;
toDeleteUserId = response.toDeleteUserId; toDeleteUserId = response.toDeleteUserId;
videoId = response.videoId; videoId = response.videoId;
document.getElementById(SEARCH_DESCRIPTION_ID).innerHTML = "Searching through the comments of the following video: <a href=\"https://www.youtube.com/watch?v=" + videoId + "\">video link (" + videoId + ")</a> by the following user: <a href=\"https://www.youtube.com/channel/" + toDeleteUserId + "\">user profile (" + toDeleteUserId + ")</a>"
runFindCommentThreadsRequest("", 0) runFindCommentThreadsRequest("", 0)
}); });