Skip to content

Commit 332c463

Browse files
yaohui-wyhajpiano
authored andcommitted
Fix code typo in use-stylesheets-for-changing-css.md. Fixes jquery#222.
1 parent 50ed4a7 commit 332c463

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

page/performance/use-stylesheets-for-changing-css.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ adding a style tag to the page instead for a nearly 60% increase in speed.
1313
// fine for up to 20 elements, slow after that
1414
$("a.swedberg").css("color", "#asd123");
1515
16-
$("<style type="text/css">a.swedberg { color : #asd123 }</style>")
16+
$("<style type=\"text/css\">a.swedberg { color : #asd123 }</style>")
1717
.appendTo("head");
1818
```

0 commit comments

Comments
 (0)