diff --git a/classes/Context.php b/classes/Context.php index ae14954ec..37dc756a1 100644 --- a/classes/Context.php +++ b/classes/Context.php @@ -121,7 +121,7 @@ class ContextCore $this->mobile_device = true; break; case 2: // Only for touchpads - if ($this->mobile_detect->isTablet() && !$this->mobile_detect->is_mobile()) + if ($this->mobile_detect->isTablet() && !$this->mobile_detect->isMobile()) $this->mobile_device = true; break; case 3: // For touchpad or mobile devices