Skip to content

Commit

Permalink
typo in previous commit (Chrome app detection for font selection)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielweck committed Dec 21, 2016
1 parent 4f27ef8 commit c232483
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/fonts/fonts.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ var _fontFaces_ONLINE =
var _fontFaces = _fontFaces_BUILT_IN;

// Due to CSP, Chrome Packaged Apps cannot include references to online web fonts
var isChromeExtensionPackagedApp = (typeof chrome !== "undefined") && chrome.app;
//&& chrome.app.window && chrome.app.window.current; // a bit redundant?
var isChromeExtensionPackagedApp = (typeof chrome !== "undefined") && chrome.app && chrome.app.window && chrome.app.window.current; // a bit redundant?

if (!isChromeExtensionPackagedApp) {
for (var i = 0; i < _fontFaces_ONLINE.length; i++) {
Expand Down

0 comments on commit c232483

Please sign in to comment.