Permalink
Browse files

Merge pull request #72 from typekit/bs-fix-event-js-font-active-example

Fixed two references two fontFamilyName that should have been familyName.
  • Loading branch information...
2 parents f3bfe34 + 58512e2 commit 71c48aed50081029ab0280504734b8d368f5ce17 Sean McBride committed Dec 12, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/webfontloader/demo/public/event-js-font-active.html
@@ -10,9 +10,9 @@
api: '/fonts/api'
},
fontactive: function(familyName, fontDescription) {
- if (fontFamilyName == 'Droid Sans') {
+ if (familyName == 'Droid Sans') {
var h1 = document.getElementsByTagName('h1')[0];
- h1.innerHTML = 'Hello World. I am ' + fontFamilyName + ' (' + fontDescription + ')';
+ h1.innerHTML = 'Hello World. I am ' + familyName + ' (' + fontDescription + ')';
}
}
});

0 comments on commit 71c48ae

Please sign in to comment.