summaryrefslogtreecommitdiff
path: root/web-ui
diff options
context:
space:
mode:
Diffstat (limited to 'web-ui')
-rw-r--r--web-ui/app/js/mail_view/data/mail_sender.js4
-rw-r--r--web-ui/test/spec/mail_view/ui/send_button.spec.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/web-ui/app/js/mail_view/data/mail_sender.js b/web-ui/app/js/mail_view/data/mail_sender.js
index d7247601..c84a4f97 100644
--- a/web-ui/app/js/mail_view/data/mail_sender.js
+++ b/web-ui/app/js/mail_view/data/mail_sender.js
@@ -37,8 +37,8 @@ define(
function failureSendingMail(on) {
return function(result) {
on.trigger(document, events.mail.send_failed);
- }
- };
+ };
+ }
function successSaveDraft(on){
return function(result){
diff --git a/web-ui/test/spec/mail_view/ui/send_button.spec.js b/web-ui/test/spec/mail_view/ui/send_button.spec.js
index dc9b940d..17de1531 100644
--- a/web-ui/test/spec/mail_view/ui/send_button.spec.js
+++ b/web-ui/test/spec/mail_view/ui/send_button.spec.js
@@ -102,7 +102,7 @@ describeComponent('mail_view/ui/send_button', function () {
expect(this.$node.text()).toBe('Send');
expect(this.$node.prop('disabled')).not.toBeTruthy();
- })
+ });
});
describe('after clicking', function () {