mirror of
https://github.com/libretro/potator.git
synced 2024-11-23 08:29:41 +00:00
Fix download savestate with apostrophe (Emscripten)
This commit is contained in:
parent
3013e076cd
commit
678d522048
@ -3,6 +3,6 @@
|
||||
A Watara Supervision Emulator based on Normmatt version.
|
||||
|
||||
## Previous README
|
||||
https://github.com/infval/potator/tree/master/platform/opendingux
|
||||
[/platform/opendingux](/platform/opendingux)
|
||||
|
||||
https://github.com/infval/potator/tree/master/platform/GP2X
|
||||
[/platform/GP2X](/platform/GP2X)
|
||||
|
@ -815,7 +815,7 @@
|
||||
ss.innerHTML = fileNames.map((e) =>
|
||||
'<tr>\
|
||||
<td>\
|
||||
' + e + '<button onclick="saveFile(\'' + e + '\')" style="float: right;">Download</button>\
|
||||
' + e + '<button onclick="saveFile(\'' + e.replace(/'/g, "\\'") + '\')" style="float: right;">Download</button>\
|
||||
</td>\
|
||||
</tr>'
|
||||
).join('');
|
||||
|
Loading…
Reference in New Issue
Block a user