web: Only accept sol files in save manager
This commit is contained in:
parent
320edd3c0f
commit
ef3220e77d
|
@ -967,6 +967,7 @@ export class RufflePlayer extends HTMLElement {
|
|||
document.createElement("INPUT")
|
||||
);
|
||||
replaceInput.type = "file";
|
||||
replaceInput.accept = ".sol";
|
||||
replaceInput.className = "replace-save";
|
||||
replaceInput.id = "replace-save-" + key;
|
||||
const replaceLabel = <HTMLLabelElement>(
|
||||
|
|
Loading…
Reference in New Issue