mirror of https://github.com/docusealco/docuseal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
485 B
16 lines
485 B
document.addEventListener("DOMContentLoaded", function () {
|
|
function showLoading() {
|
|
document.getElementById("loader").style.display = "block";
|
|
}
|
|
var editTemplateLink = document.getElementById("edit-template-link");
|
|
editTemplateLink.addEventListener("click", function (event) {
|
|
event.preventDefault();
|
|
showLoading();
|
|
|
|
var template = this.getAttribute("data-template");
|
|
setTimeout(function () {
|
|
window.location.href = template;
|
|
}, 3000);
|
|
});
|
|
});
|