code cleanup simplified css with flip axis variable and shared rules subset roboto font as woff2
This commit is contained in:
1 parent
411870c8ad
commit
8972b54fa8
5 files changed
+75
-157
No files matched your search
+8
-12
@@ -1,24 +1,20 @@
|
||||
var jsBlocks = document.getElementsByClassName("requires-js");
|
||||
Array.from(jsBlocks).forEach(block => block.style.display = "block");
|
||||
var isCopyTimout = false;
|
||||
var isCopyTimeout = false;
|
||||
|
||||
function contact(element) {
|
||||
var adress = atob("ZWxpYXM=") + atob("QGVsaWFzLW11ZWxsZXIuY29t");
|
||||
var uri = atob("bWFpbHRv") + ":" + adress;
|
||||
window.location.href = uri;
|
||||
var address = atob("ZWxpYXM=") + atob("QGVsaWFzLW11ZWxsZXIuY29t");
|
||||
window.location.href = atob("bWFpbHRv") + ":" + address;
|
||||
|
||||
if(!navigator.clipboard) return;
|
||||
navigator.clipboard.writeText(adress);
|
||||
navigator.clipboard.writeText(address);
|
||||
|
||||
if(isCopyTimout) return;
|
||||
var indicatorContent = "<i class=\"fa-solid fa-heart\"></i>E-Mail wurde kopiert!";
|
||||
if(isCopyTimeout) return;
|
||||
var previousContent = element.innerHTML;
|
||||
element.innerHTML = indicatorContent;
|
||||
isCopyTimout = true;
|
||||
element.innerHTML = "<i class=\"fa-solid fa-heart\"></i>E-Mail wurde kopiert!";
|
||||
isCopyTimeout = true;
|
||||
|
||||
setTimeout(() => {
|
||||
element.innerHTML = previousContent;
|
||||
isCopyTimout = false;
|
||||
isCopyTimeout = false;
|
||||
}, 3000)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user