Skip to content

Commit

Permalink
fix double quoting bug
Browse files Browse the repository at this point in the history
  • Loading branch information
sturob committed Nov 6, 2011
1 parent c75bd16 commit 9df25c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascripts/font-detect.js
Original file line number Diff line number Diff line change
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 9df25c1

Please sign in to comment.