Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed a minor bug in the new ignoreClass option. Thanks Kravimir!

  • Loading branch information...
commit d6339632d80a5513ac30b1220d0eb7f218c9cd6c 1 parent 61fe72a
@sorccu authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  js/cufon.js
View
2  js/cufon.js
@@ -883,7 +883,7 @@ var Cufon = (function() {
if (options.hover) options.forceHitArea = true;
if (options.autoDetect) delete options.fontFamily;
if (typeof options.ignoreClass == 'string') {
- options.ignoreClass = new RegExp('(?:^|\\s)(?:' + options.ignoreClass.replace(/\s+/, '|') + ')(?:\\s|$)');
+ options.ignoreClass = new RegExp('(?:^|\\s)(?:' + options.ignoreClass.replace(/\s+/g, '|') + ')(?:\\s|$)');
}
if (typeof options.textShadow == 'string') {
options.textShadow = CSS.textShadow(options.textShadow);
Please sign in to comment.
Something went wrong with that request. Please try again.