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:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user