We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c98b1aa commit 0623323Copy full SHA for 0623323
app/helper.rb
@@ -1,7 +1,7 @@
1
require 'dependencies'
2
3
class Helper
4
- @@navigator = $window.navigator
+ @@navigator = $window&.navigator
5
6
def self.ios?
7
@@navigator.user_agent&.match?(/\b(iPad|iPhone|iPod)\b/) || false
0 commit comments