|
@@ -63,10 +63,9 @@ var Redownload = function() {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- // Prevent a bug with the font analyzer on empty pages
|
|
|
|
var differentCharacters = '';
|
|
var differentCharacters = '';
|
|
- if (data.toolsResults.phantomas.offenders.charactersCount && data.toolsResults.phantomas.offenders.charactersCount.length > 0) {
|
|
|
|
- differentCharacters = data.toolsResults.phantomas.offenders.charactersCount[0];
|
|
|
|
|
|
+ if (data.toolsResults.phantomas.offenders.differentCharacters && data.toolsResults.phantomas.offenders.differentCharacters.length > 0) {
|
|
|
|
+ differentCharacters = data.toolsResults.phantomas.offenders.differentCharacters[0];
|
|
}
|
|
}
|
|
|
|
|
|
// Transform every request into a download function with a callback when done
|
|
// Transform every request into a download function with a callback when done
|