forked from MattWilcox/Adaptive-Images
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
To work around browser issues with unreliable cookie setting speed Adaptive Images now also checks the user agent string. If a desktop environment is detected, $mobile_first is automatically over-ridden to "FALSE". If not Adaptive Images will obey the configured value. This is a safety fallback and requires testing before I revert the default $mobile_first configured value to TRUE.
- Loading branch information
1 parent
e28628b
commit 16fec3e
Showing
1 changed file
with
9 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters