diff --git a/pkg/emscripten/embed/index.html b/pkg/emscripten/embed/index.html index e061a243e8..7e9e9b5647 100644 --- a/pkg/emscripten/embed/index.html +++ b/pkg/emscripten/embed/index.html @@ -89,7 +89,7 @@ - diff --git a/pkg/emscripten/itch/index.html b/pkg/emscripten/itch/index.html index db25960ae8..96c6059319 100644 --- a/pkg/emscripten/itch/index.html +++ b/pkg/emscripten/itch/index.html @@ -88,7 +88,7 @@ - diff --git a/pkg/emscripten/itch/itch.js b/pkg/emscripten/itch/itch.js index 240980b641..fa7a0d1136 100644 --- a/pkg/emscripten/itch/itch.js +++ b/pkg/emscripten/itch/itch.js @@ -45,12 +45,6 @@ var showError = function(error) { } }; -function reload() -{ - window.top.location.reload(); - document.getElementById('btnClean').disabled = true; -} - function cleanupStorage() { localStorage.clear(); diff --git a/pkg/emscripten/libretro/index.html b/pkg/emscripten/libretro/index.html index e196fbc911..872002c4f8 100644 --- a/pkg/emscripten/libretro/index.html +++ b/pkg/emscripten/libretro/index.html @@ -87,7 +87,7 @@ - diff --git a/pkg/emscripten/libretro/libretro.js b/pkg/emscripten/libretro/libretro.js index e34de6d80a..868b96fc3a 100644 --- a/pkg/emscripten/libretro/libretro.js +++ b/pkg/emscripten/libretro/libretro.js @@ -48,6 +48,7 @@ var showError = function(error) { function cleanupStorage() { localStorage.clear(); + document.getElementById("btnClean").disabled = true; } function dropboxInit() @@ -334,7 +335,6 @@ $(function() { $('#lblLocal').addClass('active'); preLoadingComplete(); setupFileSystem("browser"); - document.getElementById("btnClean").disabled = false; } }); });