Skip to content

Commit

Permalink
Merge pull request #1 from sturob/patch-1
Browse files Browse the repository at this point in the history
fix double quoting bug
  • Loading branch information
gabriel committed Jan 22, 2014
2 parents c75bd16 + 9df25c1 commit 4f61856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascripts/font-detect.js
Expand Up @@ -49,7 +49,7 @@ FontDetect.prototype = {

checkOffsetWidth: function(family, size) {
var node = document.createElement("p");
$(node).css("font-family", "'" + family + "', Times New Roman");
$(node).css("font-family", family);
$(node).css("font-size", size);
$(node).css("display", "inline");
$(node).addClass("font-test")
Expand Down

0 comments on commit 4f61856

Please sign in to comment.