Skip to content

Commit

Permalink
fastboot-friendly browser test
Browse files Browse the repository at this point in the history
  • Loading branch information
habdelra committed May 30, 2016
1 parent c529236 commit 0db96d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/utils/browser.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export default {
isMac: /Mac/.test(navigator.platform)
isMac: window.navigator && /Mac/.test(window.navigator.platform)
};

0 comments on commit 0db96d0

Please sign in to comment.