Skip to content

Commit

Permalink
Edit helper.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
liberaldev committed Dec 6, 2024
1 parent c98b1aa commit 0623323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helper.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'dependencies'

class Helper
@@navigator = $window.navigator
@@navigator = $window&.navigator

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

0 comments on commit 0623323

Please sign in to comment.