Fix tab title
This commit is contained in:
parent
dfc9771036
commit
3945fba7d6
|
@ -115,6 +115,8 @@
|
|||
|
||||
<script type='text/javascript'>
|
||||
var namespace = 'kne';
|
||||
var wTitle = 'KN_E'
|
||||
|
||||
window.saveFile = function(filename) {
|
||||
const buf = FS.readFile('/game/' + filename);
|
||||
const b64 = btoa(String.fromCharCode.apply(null, buf));
|
||||
|
@ -206,6 +208,8 @@
|
|||
};
|
||||
|
||||
window.fileLoadedAsync = function(file) {
|
||||
document.title = wTitle;
|
||||
|
||||
if (!(/.*Map.*rxdata/i.test(file))) return;
|
||||
|
||||
fetch('preload/' + file + '.json')
|
||||
|
@ -274,6 +278,8 @@
|
|||
hideTimer = 0;
|
||||
}
|
||||
}
|
||||
|
||||
document.title = wTitle;
|
||||
</script>
|
||||
|
||||
<script>
|
||||
|
|
|
@ -198,7 +198,7 @@ void Config::read(int argc, char *argv[])
|
|||
defScreenH = 480;
|
||||
enableBlitting = false;
|
||||
winResizable = false;
|
||||
windowTitle = "KN_E";
|
||||
windowTitle = "MKXP";
|
||||
frameSkip = false;
|
||||
|
||||
#undef PO_DESC
|
||||
|
|
Loading…
Reference in New Issue