Skip to content

Commit 7a60091

Browse files
author
Valentin Hervieu
committed
feat(labels): Use html() method to display label values
Thanks to this, we can now pass html-formated content in the translate function Closes #251
1 parent 3afcce9 commit 7a60091

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dist/rzslider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@
617617
label.rzsv = valStr;
618618
}
619619

620-
label.text(valStr);
620+
label.html(valStr);
621621

622622
// Update width only when length of the label have changed
623623
if (getDimension) {

0 commit comments

Comments
 (0)