Skip to content

Commit

Permalink
Add missing loading finished handling (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgrell authored and SQiShER committed Apr 26, 2016
1 parent 03d9876 commit c618467
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ function changeQuery(state, options, query) {
}

function startLoading(state) {
if (options.onLoaded) {
options.onLoaded();
}
return $.extend({}, state, {
itemsLoading: true,
});
Expand Down

0 comments on commit c618467

Please sign in to comment.