diff --git a/lib/jquery.webfonts.js b/lib/jquery.webfonts.js index e7ce234b..24d3d1d3 100644 --- a/lib/jquery.webfonts.js +++ b/lib/jquery.webfonts.js @@ -118,14 +118,18 @@ // This will cause removing inline fontFamily style. } - // Set the font of this element if it's not excluded - $element.not( this.options.exclude ).css( 'font-family', fontStack.join() ); + // Set the font of this element if it's not excluded. + // Add class webfonts-changed when webfonts are applied. + $element.not( this.options.exclude ) + .css( 'font-family', fontStack.join() ) + .addClass( 'webfonts-changed' ); // Set the font of this element's children if they are not excluded. // font-family of ,