diff --git a/framer/AnimationLoop.coffee b/framer/AnimationLoop.coffee index 4ee696a42..4f6805f9e 100644 --- a/framer/AnimationLoop.coffee +++ b/framer/AnimationLoop.coffee @@ -18,7 +18,7 @@ class exports.AnimationLoop extends EventEmitter # Workaraound for RAF bug on 10.10 # https://bugs.webkit.org/show_bug.cgi?id=137599 - if Utils.webkitVersion() > 600 and Utils.isSafari() and Utils.isDesktop() + if Utils.webkitVersion() > 600 and Utils.isDesktop() @raf = false if Utils.webkitVersion() > 600 and Utils.isFramerStudio() diff --git a/framer/Utils.coffee b/framer/Utils.coffee index 792ee6b91..88d77c06f 100644 --- a/framer/Utils.coffee +++ b/framer/Utils.coffee @@ -216,7 +216,7 @@ Utils.isWebKit = -> Utils.webkitVersion = -> version = -1 - regexp = /Safari\/([\d.]+)/ + regexp = /AppleWebKit\/([\d.]+)/ result = regexp.exec(navigator.userAgent) version = parseFloat(result[1]) if result version