From 1edd5c86355bb3bb02754fe729a2b51a3a8b1a60 Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Mon, 15 Apr 2019 19:56:44 -0400 Subject: remove last vestige of /printing/start --- print/resources/inkstitch.js | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'print') diff --git a/print/resources/inkstitch.js b/print/resources/inkstitch.js index 32a9a207..7c972c7a 100644 --- a/print/resources/inkstitch.js +++ b/print/resources/inkstitch.js @@ -661,15 +661,11 @@ $(function() { // rendering slows down the browser enough that we can miss sending // pings, so tell the server side to wait for us - $.get("/printing/start") - .done(function() { - ctx.drawImage(image, 0, 0, image.width, image.height, 0, 0, canvas.width, canvas.height); - realistic_cache[item] = '' + - '' + - ''; - finalize(realistic_cache[item]); - $.get("/printing/end"); - }); + ctx.drawImage(image, 0, 0, image.width, image.height, 0, 0, canvas.width, canvas.height); + realistic_cache[item] = '' + + '' + + ''; + finalize(realistic_cache[item]); }; image.src = '/realistic/' + item; } else { -- cgit v1.2.3