diff options
Diffstat (limited to 'chrome/browser/resources/ntp/util.js')
-rw-r--r-- | chrome/browser/resources/ntp/util.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/resources/ntp/util.js b/chrome/browser/resources/ntp/util.js index ab99ec2..b759356 100644 --- a/chrome/browser/resources/ntp/util.js +++ b/chrome/browser/resources/ntp/util.js @@ -5,7 +5,7 @@ // TODO(arv): Move to shared/js once namespaced and tested. var global = this; -const IS_MAC = /$Mac/.test(navigator.platform); +const IS_MAC = /^Mac/.test(navigator.platform); function $(id) { return document.getElementById(id); |