mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[ion/simulator/web] Remove old comment
This commit is contained in:
committed by
LeaNumworks
parent
df5c0752fb
commit
51b3a007e5
@@ -61,9 +61,5 @@ function screenshot() {
|
||||
var link = document.createElement('a');
|
||||
link.download = 'screenshot.png';
|
||||
link.href = canvas.toDataURL('image/png').replace('image/png', 'image/octet-stream');
|
||||
// TODO: Fixme???
|
||||
/* The following used to be "link.click()" but this doesn't work on Firefox.
|
||||
* See https://stackoverflow.com/questions/32225904/programmatical-click-on-a-tag-not-working-in-firefox */
|
||||
// link.dispatchEvent(new MouseEvent('click', {bubbles: true, cancelable: true, view: window}));
|
||||
link.click();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user