diff --git a/app/views/HomeView.coffee b/app/views/HomeView.coffee index c6da81476..13fa6387b 100644 --- a/app/views/HomeView.coffee +++ b/app/views/HomeView.coffee @@ -22,9 +22,9 @@ module.exports = class HomeView extends RootView c = super() if $.browser majorVersion = $.browser.versionNumber - c.isOldBrowser = true if $.browser.mozilla && majorVersion < 21 + c.isOldBrowser = true if $.browser.mozilla && majorVersion < 25 c.isOldBrowser = true if $.browser.chrome && majorVersion < 25 - c.isOldBrowser = true if $.browser.safari && majorVersion < 6 + c.isOldBrowser = true if $.browser.safari && majorVersion < 6 # 6 might have problems with Aether, or maybe just old minors of 6: https://errorception.com/projects/51a79585ee207206390002a2/errors/547a202e1ead63ba4e4ac9fd else console.warn 'no more jquery browser version...' c.isEnglish = (me.get('preferredLanguage') or 'en').startsWith 'en' diff --git a/app/views/play/modal/PlayItemsModal.coffee b/app/views/play/modal/PlayItemsModal.coffee index 0c182c1e8..ace78bf22 100644 --- a/app/views/play/modal/PlayItemsModal.coffee +++ b/app/views/play/modal/PlayItemsModal.coffee @@ -152,6 +152,7 @@ module.exports = class PlayItemsModal extends ModalView onScrollItemPane: -> # dynamically load visible items when the user scrolls enough to see them + return console.error "Couldn't update scroll, since paneNanoContent wasn't initialized." unless @paneNanoContent items = @paneNanoContent.find('.item:not(.loaded)') threshold = @paneNanoContent.height() + 100 for itemEl in items