Got rid of js
This commit is contained in:
1 parent
6b7f28bc46
commit
11f5f256dd
7 files changed
+104
-82
No files matched your search
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user