Got rid of js

This commit is contained in:
CommanderRedYT committed 2020-11-07 14:32:16 +01:00
1 parent 6b7f28bc46
commit 11f5f256dd
7 files changed
+104 -82

No files matched your search

-21
View File
@@ -1,21 +0,0 @@
function addHTML() {
if (window.location.protocol == 'file:' || window.location.hostname == '127.0.0.1') {
var filename = document.getElementById("addhtml")
filename += ".html"
document.getElementById("addhtml").href = filename;
console.log(filename);
return false;
}
}
function addIndex() {
if (window.location.protocol == 'file:' || window.location.hostname == '127.0.0.1') {
var filename = document.getElementById("addindex")
filename += "index.html"
document.getElementById("addindex").href = filename;
console.log(filename);
return false;
}
}