1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-10 08:26:19 +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);
a.click();
a.remove();
}
};
saveHtmlBtn.addEventListener('click', function (e) {
save_file();
@ -208,7 +208,7 @@
event.returnValue=false;
save_file();
}
})
});
window.addEventListener('click', function(e) {
if (typeof e.target.className === 'string' && e.target.className.indexOf('modal-overlay') !== -1) {