From 5dfff2886744ae9c8d779874efdfc644223c52a5 Mon Sep 17 00:00:00 2001 From: emeric Date: Mon, 6 Apr 2015 17:56:55 +0200 Subject: [PATCH] [UI] reverted bad testing tweak --- src/ui/LmsApplication.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/LmsApplication.cpp b/src/ui/LmsApplication.cpp index ce3e3a8e..10557bcd 100644 --- a/src/ui/LmsApplication.cpp +++ b/src/ui/LmsApplication.cpp @@ -50,13 +50,13 @@ namespace { bool agentIsMobile() { const Wt::WEnvironment& env = Wt::WApplication::instance()->environment(); - return true; return (env.agentIsIEMobile() || env.agentIsMobileWebKit() || env.userAgent().find("Mobile") != std::string::npos // Workaround for firefox || env.userAgent().find("Tablet") != std::string::npos // Workaround for firefox ); } + }