Windows mobile doesn't seem to prase meta viewport the same way as others #17

Open
sminnee opened this Issue Mar 31, 2012 · 0 comments

Comments

Projects
None yet
1 participant
Owner

sminnee commented Mar 31, 2012

From http://open.silverstripe.org/ticket/6006

http://msdn.microsoft.com/en-us/library/dd938878.aspx

From my testing on Windows mobile emulators they prefer commas to semi-colons so I added to my template:

<% if IsWindows %>

<% else %>

<% end_if %>
and the below to MobileSiteConfiguration?:

public function IsWindows() {
return MobileBrowserDetector::is_windows();
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment