diff options
author | Donald Cook <dcook@gitlab.com> | 2019-08-05 17:31:40 +0300 |
---|---|---|
committer | Donald Cook <dcook@gitlab.com> | 2019-08-05 17:31:40 +0300 |
commit | b8834bbaf6207ac816152a264fb25332c1f773df (patch) | |
tree | 659fbb39a349580094146c7dc4f0ff7de70a452e /app/assets/javascripts/right_sidebar.js | |
parent | c52721aaab275ff25a9aa7e60b76a8ccb04d9ce3 (diff) |
Fixed bug from extra parenthesis
Diffstat (limited to 'app/assets/javascripts/right_sidebar.js')
-rw-r--r-- | app/assets/javascripts/right_sidebar.js | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/app/assets/javascripts/right_sidebar.js b/app/assets/javascripts/right_sidebar.js index 930c0d5e958..40a2158de78 100644 --- a/app/assets/javascripts/right_sidebar.js +++ b/app/assets/javascripts/right_sidebar.js @@ -101,10 +101,12 @@ Sidebar.prototype.toggleTodo = function(e) { this.todoUpdateDone(data); }) .catch(() => - flash(sprintf(__('There was an error %{message} todo.')), { - message: - ajaxType === 'post' ? s__('RightSidebar|adding a') : s__('RightSidebar|deleting the'), - }), + flash( + sprintf(__('There was an error %{message} todo.'), { + message: + ajaxType === 'post' ? s__('RightSidebar|adding a') : s__('RightSidebar|deleting the'), + }), + ), ); }; |