diff --git a/app/core/application.coffee b/app/core/application.coffee index dc212dec5..55b54f6e8 100644 --- a/app/core/application.coffee +++ b/app/core/application.coffee @@ -46,7 +46,7 @@ console.debug ?= console.log # Needed for IE10 and earlier Application = initialize: -> Router = require('core/Router') @isProduction = -> document.location.href.search('https?://localhost:3000') is -1 - @isIPadApp = webkit?.messageHandlers? and navigator.userAgent?.indexOf('iPad') isnt -1 + @isIPadApp = webkit?.messageHandlers? and navigator.userAgent?.indexOf('iPhone OS') isnt -1 $('body').addClass 'ipad' if @isIPadApp @tracker = new Tracker() @facebookHandler = new FacebookHandler()