diff --git a/app/assets/javascripts/discourse/components/user-menu.js.es6 b/app/assets/javascripts/discourse/components/user-menu.js.es6 index 0b094fcea..78438193c 100644 --- a/app/assets/javascripts/discourse/components/user-menu.js.es6 +++ b/app/assets/javascripts/discourse/components/user-menu.js.es6 @@ -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; }