Fix my jshint failures

This commit is contained in:
Neil Lalonde 2013-02-22 12:17:07 -05:00
parent ff3e012034
commit 2d9942ceef
2 changed files with 2 additions and 2 deletions

View file

@ -45,7 +45,7 @@
}).success(function(result) {
if (result.error) {
_this.set('loggingIn', false);
if( result.reason == 'not_activated' ) {
if( result.reason === 'not_activated' ) {
return _this.showView(Discourse.NotActivatedView.create({username: _this.get('loginName'), sentTo: result.sent_to_email, currentEmail: result.current_email}));
}
_this.flash(result.error, 'error');

View file

@ -5,7 +5,7 @@ window.Discourse.NotActivatedView = window.Discourse.ModalBodyView.extend(Discou
emailSent: false,
sendActivationEmail: function() {
$.get('/users/' + this.get('username') + '/send_activation_email');
jQuery.get('/users/' + this.get('username') + '/send_activation_email');
this.set('emailSent', true);
}
});