1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-08-04 20:37:29 +02:00

Fix the format

This commit is contained in:
mikum
2016-06-08 10:44:57 +08:00
parent 26281294ab
commit 2a9a8aae8f

View File

@@ -197,7 +197,7 @@
document.body.appendChild(a); document.body.appendChild(a);
a.click(); a.click();
a.remove(); a.remove();
} };
saveHtmlBtn.addEventListener('click', function (e) { saveHtmlBtn.addEventListener('click', function (e) {
save_file(); save_file();
@@ -208,7 +208,7 @@
event.returnValue=false; event.returnValue=false;
save_file(); save_file();
} }
}) });
window.addEventListener('click', function(e) { window.addEventListener('click', function(e) {
if (typeof e.target.className === 'string' && e.target.className.indexOf('modal-overlay') !== -1) { if (typeof e.target.className === 'string' && e.target.className.indexOf('modal-overlay') !== -1) {