We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1a171e commit 5caa492Copy full SHA for 5caa492
jquery.fontselect.js
@@ -390,11 +390,10 @@
390
391
Fontselect.prototype.addFontLink = function(font){
392
393
- var compressedString = font.replace(/(.)(?=.*\1)/g, "");
394
- var link = this.options.api + font;
+ var link = this.options.api + font + '&text=' + font;
395
396
if ($("link[href*='" + font + "']").length === 0){
397
- $('link:last').after('<link href="' + link + '&text=' + compressedString + '" rel="stylesheet" type="text/css">');
+ $('link:last').after('<link href="' + link + '" rel="stylesheet" type="text/css">');
398
}
399
};
400
0 commit comments