diff --git a/index.html b/index.html index d83f85f..722fb16 100644 --- a/index.html +++ b/index.html @@ -301,8 +301,8 @@ -
Would you really like to delete all stored files?
\ + ", + 0); +} function clearAllFiles() { let tF = JSON.parse(retrieveData("templateFiles")); if (tF == null || tF.length == 0) { - modalNotifier("there are no saved texts yet"); + modalNotifier("there are no saved texts yet",2); return; } for (let storageName of tF) { diff --git a/js/9.9.7/form.js b/js/9.9.7/form.js index 09b9b80..492185f 100644 --- a/js/9.9.7/form.js +++ b/js/9.9.7/form.js @@ -225,6 +225,7 @@ function formEvts() { parseFormOnSubmit(); e.target.className = e.target.className.replace(" w3-grey", " w3-flat-carrot"); e.target.style.pointerEvents = "none"; + modalNotifier(activeState.fileName + " copied to clipboard", 2); const timeoutCopy = setTimeout(() => { e.target.className = e.target.className.replace(" w3-flat-carrot"," w3-grey"); e.target.style.pointerEvents = "auto"; diff --git a/js/9.9.7/parseForm.js b/js/9.9.7/parseForm.js index 746049a..71dfdda 100644 --- a/js/9.9.7/parseForm.js +++ b/js/9.9.7/parseForm.js @@ -144,11 +144,11 @@ function parseFormOnSubmit(returnJSON = false, parseOnly = false) { return div; } - let p = document.createElement("p"); - p.innerHTML = "Copied to Clipboard:"; - document.getElementById("output").innerHTML = ""; - document.getElementById("output").appendChild(p); - document.getElementById("output").appendChild(div); + // let p = document.createElement("p"); + // p.innerHTML = "Copied to Clipboard:"; + // document.getElementById("output").innerHTML = ""; + // document.getElementById("output").appendChild(p); + // document.getElementById("output").appendChild(div); storeData("userInput", JSON.stringify(dataArray)); clearData("userInput");