Send the share link by mail on pressing enter instead of reloading the page

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2016-12-05 11:26:53 +01:00
parent 63f805826b
commit 7bd4eb7c5b
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8
1 changed files with 2 additions and 1 deletions

View File

@ -48,7 +48,8 @@
showLink: true, showLink: true,
events: { events: {
'click #emailButton': '_onEmailPrivateLink' 'click #emailButton': '_onEmailPrivateLink',
'submit #emailPrivateLink': '_onEmailPrivateLink'
}, },
initialize: function(options) { initialize: function(options) {