mirror of
https://github.com/marcrobledo/RomPatcher.js.git
synced 2025-09-15 17:26:57 +00:00
parent
a010576839
commit
c2d7f0b416
7 changed files with 63 additions and 24 deletions
|
@ -26,7 +26,11 @@
|
|||
outputName: 'Game (English v1.0)', //patched ROM name
|
||||
});
|
||||
} catch (err) {
|
||||
document.getElementById('rom-patcher-container').innerHTML = err.message;
|
||||
var message = err.message;
|
||||
if (/incompatible browser/i.test(message) || /variable RomPatcherWeb/i.test(message))
|
||||
message = 'Your browser is outdated and it is not compatible with this app.';
|
||||
|
||||
document.getElementById('rom-patcher-container').innerHTML = message;
|
||||
document.getElementById('rom-patcher-container').style.color = 'red';
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue