WebExtension: Corrected comment.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
tastytea 2019-05-22 19:06:59 +02:00
parent 8275db6687
commit c37d251394
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ function launch() // Launch wrapper and send tags + URL to stdin.
document.getElementById("status").textContent = "Launching remwharead…";
document.getElementById("error").textContent = "";
var arguments = get_tags() + taburl;
console.log("Sending: " + arguments + " to remwharead");
console.log("Sending: " + arguments + " to remwharead");
var sending = browser.runtime.sendNativeMessage("remwharead", arguments);
sending.then(onResponse, onError);
}
@ -52,7 +52,7 @@ function launch() // Launch wrapper and send tags + URL to stdin.
// Call set_taburl() with current tab.
browser.tabs.query({currentWindow: true, active: true}).then(set_taburl);
button.addEventListener("click", launch); // Call send() if submit is clicked.
button.addEventListener("click", launch); // Call launch() if button is clicked.
// Click button if enter is hit in text input.
document.querySelector("#tags").addEventListener(