[UI] Mobile audio player inside a footer: first draft
This commit is contained in:
@@ -50,6 +50,7 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user