Skip to content

Commit ae50883

Browse files
authored
Merge pull request #3 from jp26jp/patch-1
Speed optimization
2 parents 83e67b1 + 5caa492 commit ae50883

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jquery.fontselect.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@
390390

391391
Fontselect.prototype.addFontLink = function(font){
392392

393-
var link = this.options.api + font;
393+
var link = this.options.api + font + '&text=' + font;
394394

395395
if ($("link[href*='" + font + "']").length === 0){
396396
$('link:last').after('<link href="' + link + '" rel="stylesheet" type="text/css">');

0 commit comments

Comments
 (0)