diff --git a/classes/Context.php b/classes/Context.php index 37dc756a1..8f4c35fab 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->isMobile()) + if ($this->mobile_detect->isTablet() && $this->mobile_detect->isMobile()) $this->mobile_device = true; break; case 3: // For touchpad or mobile devices