summaryrefslogtreecommitdiff
path: root/client/button.js
diff options
context:
space:
mode:
authorYuval Adam <yuval@y3xz.com>2015-07-13 12:54:32 +0300
committerYuval Adam <yuval@y3xz.com>2015-07-13 12:54:32 +0300
commit337a4c54d16f5d76f4703fae4065516bc7f4b648 (patch)
tree7066ad4909d361df50de21bffc8db5a8562ca51c /client/button.js
parent95dee8848dd4bf0d534cfb9cd92be94918eeb676 (diff)
Share button cleanup
Diffstat (limited to 'client/button.js')
-rw-r--r--client/button.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/client/button.js b/client/button.js
index 2cdac14..d67bbb6 100644
--- a/client/button.js
+++ b/client/button.js
@@ -225,13 +225,10 @@ Template.photos.events({
return false;
},
'click button.share-instagram': function (event) {
- window.print();
+ return false;
},
'click button.share-facebook': function (event) {
- window.print();
- },
- 'click button.share-save': function (event) {
- window.print();
+ return false;
},
'click button.share-print': function (event) {
var date = Session.get('date');
@@ -269,6 +266,7 @@ Template.photos.events({
printStr += bin2hex([1,1,1].concat(code)); // add three high bits for padding
Meteor.call('printFinalImage', printStr);
+ return false;
}
})