From cdecbf86aee44226f864efd26fbd0930b309a875 Mon Sep 17 00:00:00 2001 From: Viraj Mahesh Date: Mon, 28 Apr 2014 01:11:35 -0700 Subject: Revert f56dc8e..d3ec80f This rolls back to commit f56dc8ecf5f2845ed40b62eec4e0e2227bebd5ba. --- objects.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'objects.js') diff --git a/objects.js b/objects.js index c4e857c..ea07e6e 100644 --- a/objects.js +++ b/objects.js @@ -4764,14 +4764,7 @@ StageMorph.prototype.userMenu = function () { menu.addItem( "pic...", function () { - //window.open(); - //window.location.href = - var ref = myself.fullImageClassic().toDataURL().replace(/^data:image\/[^;]/, 'data:application/octet-stream'); - var link = document.createElement('a'); - link.download = 'download.png'; - link.href = ref; - link.click(); - console.log("here"); + window.open(myself.fullImageClassic().toDataURL()); }, 'open a new window\nwith a picture of the stage' ); -- cgit v1.3.1