Skip to content

Commit 0623323

Browse files
committed
Edit helper.rb
1 parent c98b1aa commit 0623323

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
require 'dependencies'
22

33
class Helper
4-
@@navigator = $window.navigator
4+
@@navigator = $window&.navigator
55

66
def self.ios?
77
@@navigator.user_agent&.match?(/\b(iPad|iPhone|iPod)\b/) || false

0 commit comments

Comments
 (0)