WebExtension: Remove error message from popup on launch.

This commit is contained in:
tastytea 2019-05-22 13:41:10 +02:00
parent 162ff88163
commit e81ab358cd
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ function onError(error) {
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");
var sending = browser.runtime.sendNativeMessage("remwharead", arguments);