Skip to content
Snippets Groups Projects
Commit b3e15ac4 authored by Purity's avatar Purity
Browse files

Merge branch 'tanning-fixes' into 'dev'

Fix for sliders

See merge request Vrelnir/degrees-of-lewdity!2991
parents f9c9e18e 1ae26a5f
No related branches found
No related tags found
No related merge requests found
......@@ -103,7 +103,7 @@ Macro.add("numberslider", {
const $elValue = $("<span>").attr("id", `${this.name}-value-${varId}`).appendTo($elControl);
const showValue = () => {
$elValue.html(callbacks.value ? callbacks.value(Number($elInput.val())) : Number($elInput.val()).toFixed(0));
$elValue.html(callbacks.value ? callbacks.value(Number($elInput.val())) : Number($elInput.val()));
};
$elInput.val(defValue);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment