mirror of
https://github.com/marcrobledo/RomPatcher.js.git
synced 2025-07-27 16:48:31 +00:00
dirty fix for issue #12
This commit is contained in:
parent
41d9af379f
commit
a4eb4b1331
3 changed files with 9 additions and 3 deletions
|
@ -29,7 +29,7 @@ caches.keys().then(function(cacheNames){
|
||||||
});
|
});
|
||||||
|
|
||||||
var PRECACHE_ID='rom-patcher-js';
|
var PRECACHE_ID='rom-patcher-js';
|
||||||
var PRECACHE_VERSION='v10';
|
var PRECACHE_VERSION='v11';
|
||||||
var PRECACHE_URLS=[
|
var PRECACHE_URLS=[
|
||||||
'/RomPatcher.js/','/RomPatcher.js/index.html',
|
'/RomPatcher.js/','/RomPatcher.js/index.html',
|
||||||
'/RomPatcher.js/manifest.json',
|
'/RomPatcher.js/manifest.json',
|
||||||
|
|
|
@ -173,7 +173,7 @@
|
||||||
|
|
||||||
<!-- FOOTER -->
|
<!-- FOOTER -->
|
||||||
<footer>
|
<footer>
|
||||||
Rom Patcher JS <small>v2.3</small> by <a href="/">Marc Robledo</a>
|
Rom Patcher JS <small>v2.3b</small> by <a href="/">Marc Robledo</a>
|
||||||
<br />
|
<br />
|
||||||
<i class="icon github"></i> <a href="https://github.com/marcrobledo/RomPatcher.js/" target="_blank">See on GitHub</a>
|
<i class="icon github"></i> <a href="https://github.com/marcrobledo/RomPatcher.js/" target="_blank">See on GitHub</a>
|
||||||
<i class="icon heart"></i> <a href="https://www.paypal.me/marcrobledo/5" target="_blank" rel="nofollow">Donate</a>
|
<i class="icon heart"></i> <a href="https://www.paypal.me/marcrobledo/5" target="_blank" rel="nofollow">Donate</a>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Rom Patcher JS v20200502 - Marc Robledo 2016-2020 - http://www.marcrobledo.com/license */
|
/* Rom Patcher JS v20200915 - Marc Robledo 2016-2020 - http://www.marcrobledo.com/license */
|
||||||
|
|
||||||
const TOO_BIG_ROM_SIZE=67108863;
|
const TOO_BIG_ROM_SIZE=67108863;
|
||||||
const HEADERS_INFO=[
|
const HEADERS_INFO=[
|
||||||
|
@ -214,6 +214,12 @@ addEvent(window,'load',function(){
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
/* dirty fix for mobile Safari https://stackoverflow.com/a/19323498 */
|
||||||
|
if(/Mobile\/\S+ Safari/.test(navigator.userAgent)){
|
||||||
|
el('input-file-patch').accept='';
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* predefined patches */
|
/* predefined patches */
|
||||||
if(typeof PREDEFINED_PATCHES!=='undefined'){
|
if(typeof PREDEFINED_PATCHES!=='undefined'){
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue