Skip to content

Commit f813d74

Browse files
author
Kendo Bot
committed
Sync with Kendo UI Professional
1 parent 25bcd71 commit f813d74

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

docs/styles-and-layout/icons-web.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -781,12 +781,16 @@ fonts in fonts/
781781
</ul>
782782

783783
<script>
784-
$(".WebComponentsIcons .k-icon").each(function() {
784+
var icons = document.querySelectorAll('.WebComponentsIcons .k-icon');
785+
786+
for (var i = 0, len = icons.length; i < len; i++) {
787+
var icon = icons[i];
788+
785789
function iconGlyph(el) {
786790
return window.getComputedStyle(el,':before').content.charCodeAt(1).toString(16);
787791
}
788-
$(this.parentNode).append("<br />Unicode: " + iconGlyph(this) + "")
789-
});
792+
icon.parentNode.insertAdjacentHTML("beforeend","<br />Unicode: " + iconGlyph(icon) + "");
793+
}
790794
</script>
791795

792796
<style>

0 commit comments

Comments
 (0)