diff --git a/app/assets/javascripts/comment.js b/app/assets/javascripts/comment.js index 4b5b34e3427..42e6b77c2a0 100644 --- a/app/assets/javascripts/comment.js +++ b/app/assets/javascripts/comment.js @@ -23,7 +23,7 @@ if(!$(this).hasClass('bound-error')) { $(this).addClass('bound-error').bind('ajax:error', function(e,response){ - notyNotification('mint', 3000, 'success', 'topRight', 'Some error occured while adding comment'); + notyNotification('mint', 3000, 'error', 'topRight', 'Some error occured while adding comment'); $(this).find('#text-input').prop('disabled',false); $(this).find('.control-group').addClass('has-error') $(this).find('.control-group .help-block ').remove()