Index: chrome/browser/resources/ntp/util.js |
diff --git a/chrome/browser/resources/ntp/util.js b/chrome/browser/resources/ntp/util.js |
index ab99ec253a7964357fd301d99c3ccc48062aa848..b75935649343d6712cd1523b31162e2088fd1d2f 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); |