0
0
mirror of https://github.com/Doodle3D/doodle3d-client.git synced 2024-11-22 09:17:56 +01:00

Fixing double printer.print call

This commit is contained in:
peteruithoven 2013-10-11 15:33:51 +02:00
parent 1c930efdf5
commit 8ff028dce1

View File

@ -309,6 +309,7 @@ function setState(newState) { //TODO add hasControl
switch(newState) { switch(newState) {
case Printer.IDLE_STATE: case Printer.IDLE_STATE:
btnPrint.removeClass("disabled"); // enable print button btnPrint.removeClass("disabled"); // enable print button
btnPrint.unbind('touchstart mousedown');
btnPrint.bind('touchstart mousedown',print); btnPrint.bind('touchstart mousedown',print);
break; break;
default: default: