From 2766cc4a05caafa56867de56eaa5170d50ac6a1f Mon Sep 17 00:00:00 2001 From: Revertron Date: Mon, 22 Feb 2021 17:45:18 +0100 Subject: [PATCH] Added clearing of records when you start mining. --- src/webview/scripts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webview/scripts.js b/src/webview/scripts.js index dcf3e1f..d6580b0 100644 --- a/src/webview/scripts.js +++ b/src/webview/scripts.js @@ -125,10 +125,10 @@ function saveKey() { function createDomain() { new_domain = document.getElementById("new_domain").value; - //new_dom_records = document.getElementById("new_domain_records").value; new_dom_records = JSON.stringify(recordsBuffer); new_dom_tags = document.getElementById("new_domain_tags").value; external.invoke(JSON.stringify({cmd: 'createDomain', name: new_domain, records: new_dom_records, tags: new_dom_tags})); + recordsBuffer = []; } function changeDomain() {