its not a const anymore
This commit is contained in:
parent
6709eaeb3c
commit
7a5c045399
|
@ -45,7 +45,7 @@ export default Ember.Component.extend({
|
|||
if (this.get('loadingNotifications')) { return; }
|
||||
|
||||
// estimate (poorly) the amount of notifications to return
|
||||
const limit = Math.round(($(window).height() - headerHeight()) / 50);
|
||||
var limit = Math.round(($(window).height() - headerHeight()) / 50);
|
||||
// we REALLY don't want to be asking for negative counts of notifications
|
||||
// less than 5 is also not that useful
|
||||
if (limit < 5) { limit = 5; }
|
||||
|
|
Loading…
Reference in New Issue