This commit is contained in:
Rasmus Andersson 2019-03-31 19:25:31 -07:00
parent 871bcce4e0
commit 4a575d2edc
121 changed files with 222214 additions and 219492 deletions

View file

@ -94,7 +94,7 @@ function InterDynamicLineHeight(fontSize) {
}
// Mac or not? Maybe even a buggy Safari?
// Mac or not? Maybe a buggy Safari or a busted Chrome on Windows...
var isMac = false
if (!window.MSStream &&
/mac|ipad|iphone|ipod/i.test(navigator.userAgent))
@ -105,4 +105,9 @@ if (!window.MSStream &&
{
document.body.classList.add('safari')
}
} else if (
navigator.userAgent.indexOf('Windows') != -1 &&
navigator.userAgent.indexOf('Chrome') != -1
) {
document.body.classList.add('chrome-win')
}