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:
parent
1c930efdf5
commit
8ff028dce1
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user