changes working

This commit is contained in:
akilan
2020-05-10 20:47:17 +04:00
parent 8c14650b51
commit 2fca76e753
154 changed files with 6271 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
document.getElementById("copyButton").addEventListener("click", copyToClipboard);
let currentUrl = window.location;
let copyTextContainer = document.getElementById("copyText");
let toolTip = document.getElementById("toolTip");
function copyToClipboard(){
copyTextContainer.value = currentUrl
copyTextContainer.focus();
copyTextContainer.select();
document.execCommand("copy");
toolTip.style.animationName = "pan-toolbar";
setTimeout(function(){
toolTip.style.removeProperty('animation-name');
}, 2000);
}