diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/api.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/api.js b/app/assets/javascripts/api.js index bd2b9cc2976..2fddd6b0ed4 100644 --- a/app/assets/javascripts/api.js +++ b/app/assets/javascripts/api.js @@ -59,7 +59,7 @@ const Api = { }, // Return projects list. Filtered by query - projects(query, options, callback) { + projects(query, options, callback = $.noop) { const url = Api.buildUrl(Api.projectsPath); const defaults = { search: query, |