diff options
Diffstat (limited to 'print/resources/inkstitch.js')
| -rw-r--r-- | print/resources/inkstitch.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/print/resources/inkstitch.js b/print/resources/inkstitch.js index 57f62b1a..a5d57e26 100644 --- a/print/resources/inkstitch.js +++ b/print/resources/inkstitch.js @@ -663,9 +663,6 @@ $(function() { canvas.height = image.height / 96 * 600; var ctx = canvas.getContext('2d'); - - // rendering slows down the browser enough that we can miss sending - // pings, so tell the server side to wait for us ctx.drawImage(image, 0, 0, image.width, image.height, 0, 0, canvas.width, canvas.height); realistic_cache[item] = '<svg width=' + image.width + ' height=' + image.height + ' xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">' + '<image x=0 y=0 width=' + image.width + ' height=' + image.height + ' xlink:href="' + canvas.toDataURL() + '" />' + |
