Permalink
Browse files

Fixed two references two fontFamilyName that should have been familyN…

…ame.
  • Loading branch information...
1 parent 9938146 commit 58512e2a09278f292aab3dd02ad84ce45ffb7ba1 @bramstein bramstein committed Dec 6, 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 58512e2

Please sign in to comment.