mirror of
https://github.com/marcrobledo/RomPatcher.js.git
synced 2025-06-27 16:25:54 +00:00
parent
a010576839
commit
c2d7f0b416
7 changed files with 63 additions and 24 deletions
|
@ -213,7 +213,7 @@ input[type=checkbox].styled:focus:not(:disabled){
|
|||
#patch-builder-container input[type=file]
|
||||
{width:100%}
|
||||
input[type=file]{padding:6px 10px}
|
||||
input[type=file]::file-selector-button{display:none}
|
||||
input[type=file].no-file-selector-button::file-selector-button{display:none}
|
||||
select{
|
||||
padding:6px 18px 6px 10px;
|
||||
-webkit-appearance:none;
|
||||
|
|
|
@ -130,7 +130,7 @@ window.addEventListener('load', function (evt) {
|
|||
RomPatcherWeb.initialize(initialSettings);
|
||||
} catch (err) {
|
||||
var message = err.message;
|
||||
if (/incompatible browser/i.test(message))
|
||||
if (/incompatible browser/i.test(message) || /variable RomPatcherWeb/i.test(message))
|
||||
message = 'Your browser is outdated and it is not compatible with the latest version of Rom Patcher JS.<br/><a href="legacy/">Try the legacy version</a>';
|
||||
|
||||
document.getElementById('rom-patcher-container').innerHTML = message;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue