summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorAsbjørn Sloth Tønnesen <asbjorn@asbjorn.biz>2012-07-10 20:09:02 +0000
committerAsbjørn Sloth Tønnesen <asbjorn@asbjorn.biz>2012-07-10 20:09:02 +0000
commitcad3b444f35b64280dcfce3a27d739a7a4642d1d (patch)
tree250807037104491e9ef25a255458b6f213b9f9e8 /web
parente633c7f653b1ea89118fc71914dfd07330ebd4cf (diff)
downloadlabitrack-cad3b444f35b64280dcfce3a27d739a7a4642d1d.tar.gz
labitrack-cad3b444f35b64280dcfce3a27d739a7a4642d1d.tar.xz
labitrack-cad3b444f35b64280dcfce3a27d739a7a4642d1d.zip
fix print on view
Signed-off-by: Asbjørn Sloth Tønnesen <asbjorn@asbjorn.biz>
Diffstat (limited to 'web')
-rw-r--r--web/js/labitrack.d/45-view.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/js/labitrack.d/45-view.js b/web/js/labitrack.d/45-view.js
index c94bc9e..27e519b 100644
--- a/web/js/labitrack.d/45-view.js
+++ b/web/js/labitrack.d/45-view.js
@@ -8,7 +8,7 @@
var label = new λ.label();
label.set_canvas(canvas);
label.set_data(o.toJSON());
- $('.bnt_print').die().click(function(){
+ $('.btn_print').click(function(){
label.print();
return false;
});