mirror of
https://github.com/chinchang/web-maker.git
synced 2025-06-12 04:31:35 +02:00
Change the function name
This commit is contained in:
@ -177,13 +177,13 @@
|
||||
});
|
||||
|
||||
saveHtmlBtn.addEventListener('click', function (e) {
|
||||
save_file();
|
||||
saveFile();
|
||||
});
|
||||
|
||||
window.addEventListener('keydown',function(event) {
|
||||
if ((event.ctrlKey)&&(event.keyCode==83)){
|
||||
event.preventDefault();
|
||||
save_file();
|
||||
saveFile();
|
||||
}
|
||||
});
|
||||
|
||||
@ -235,7 +235,7 @@
|
||||
});
|
||||
}
|
||||
|
||||
function save_file() {
|
||||
function saveFile() {
|
||||
var html = editur.cm.html.getValue();
|
||||
var css = editur.cm.css.getValue();
|
||||
var js = editur.cm.js.getValue();
|
||||
|
Reference in New Issue
Block a user