From 06233238058275814d0496f4e8f285e956500a85 Mon Sep 17 00:00:00 2001 From: lee Date: Fri, 6 Dec 2024 14:53:51 +0900 Subject: [PATCH] Edit helper.rb --- app/helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helper.rb b/app/helper.rb index 23f9289..e295824 100644 --- a/app/helper.rb +++ b/app/helper.rb @@ -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