Added clearing of records when you start mining.

pull/3/head
Revertron 4 years ago
parent 9a9adbe251
commit 2766cc4a05

@ -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() {

Loading…
Cancel
Save