diff options
Diffstat (limited to 'client/button.js')
| -rw-r--r-- | client/button.js | 8 |
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; } }) |
