diff options
| author | Yuval Adam <yuval@y3xz.com> | 2015-07-13 12:54:32 +0300 |
|---|---|---|
| committer | Yuval Adam <yuval@y3xz.com> | 2015-07-13 12:54:32 +0300 |
| commit | 337a4c54d16f5d76f4703fae4065516bc7f4b648 (patch) | |
| tree | 7066ad4909d361df50de21bffc8db5a8562ca51c /client | |
| parent | 95dee8848dd4bf0d534cfb9cd92be94918eeb676 (diff) | |
Share button cleanup
Diffstat (limited to 'client')
| -rw-r--r-- | client/button.js | 8 | ||||
| -rw-r--r-- | client/colors.less | 7 | ||||
| -rw-r--r-- | client/templates/photos.html | 1 |
3 files changed, 7 insertions, 9 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; } }) diff --git a/client/colors.less b/client/colors.less index 968ef7d..f92f758 100644 --- a/client/colors.less +++ b/client/colors.less @@ -299,14 +299,15 @@ body { } } div.share { - margin-left: 70px; + margin-left: 40px; width: 260px; button { display: block; font-size: 2.8em; font-weight: bold; - margin-top: 10px; - padding: 3px 3px; + line-height: 1.3em; + margin-bottom: 14px; + padding: 0px 3px; color: black; background-color: white; border: 0px; diff --git a/client/templates/photos.html b/client/templates/photos.html index 2b9cfef..2e176e4 100644 --- a/client/templates/photos.html +++ b/client/templates/photos.html @@ -54,7 +54,6 @@ <div class="share" style="display: none;"> <button class="share-instagram">Instagram</button> <button class="share-facebook">Facebook</button> - <button class="share-save">Save</button> <button class="share-print">Print</button> </div> </div> |
