A light-weight shim around Mobile_detect for XenForo 2
Usage (in templates)
The add-on injects the global variable $xf.mobileDetect, check that the variable is set before calling any methods to prevent errors during upgrades or if the add-on is disabled.
<xf:if is="$xf.mobileDetect &&...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.