diff options
Diffstat (limited to 'js/public/app.js')
-rw-r--r-- | js/public/app.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/js/public/app.js b/js/public/app.js index de1725c2c..8922625ab 100644 --- a/js/public/app.js +++ b/js/public/app.js @@ -1283,8 +1283,10 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>. var lowestItemId; lowestItemId = this._itemModel.getLowestId(); - if (angular.isDefined(lowestItemId)) { + if (lowestItemId !== 0) { return this._persistence.getItems(this._activeFeed.getType(), this._activeFeed.getId(), lowestItemId, callback); + } else { + return callback(); } }; |