diff --git a/documentation/examples-content/click-pips.php b/documentation/examples-content/click-pips.php index 83196301..d10e3082 100644 --- a/documentation/examples-content/click-pips.php +++ b/documentation/examples-content/click-pips.php @@ -5,7 +5,7 @@
-

Issue #733 asks about clicking pips to move the slider to their value. noUiSlider 11 adds a data-value attribute to all .noUi-value elements that makes this easy.

+

Issue #733 asks about clicking pips to move the slider to their value. All .noUi-value elements have a data-value attribute to facilitate this.

diff --git a/documentation/examples-content/soft-limits.php b/documentation/examples-content/soft-limits.php index 17e2341f..7603d1c1 100644 --- a/documentation/examples-content/soft-limits.php +++ b/documentation/examples-content/soft-limits.php @@ -5,7 +5,7 @@
-

If you want to disable the edges of a slider, the set event can be used to reset the value if a limit is passed. Note how the handle 'bounces back' when it is released below 20 or above 80. noUiSlider also supports disabling edges altogether, which can be done using the padding option.

+

To disable the edges of a slider, the set event can be used to reset the value if a limit is passed. Note how the handle 'bounces back' when it is released below 20 or above 80. noUiSlider also supports disabling edges altogether, which can be done using the padding option.

diff --git a/documentation/examples/merging-tooltips.js b/documentation/examples/merging-tooltips.js index 8349767b..f1ec22d1 100644 --- a/documentation/examples/merging-tooltips.js +++ b/documentation/examples/merging-tooltips.js @@ -57,12 +57,12 @@ function mergeTooltips(slider, threshold, separator) { var offset = 0; poolPositions[poolIndex].forEach(function (value) { - offset += 1000 - 10 * value; + offset += 1000 - value; }); var direction = isVertical ? 'bottom' : 'right'; var last = isRtl ? 0 : handlesInPool - 1; - var lastOffset = 1000 - 10 * poolPositions[poolIndex][last]; + var lastOffset = 1000 - poolPositions[poolIndex][last]; offset = (textIsRtl && !isVertical ? 100 : 0) + (offset / handlesInPool) - lastOffset; // Center this tooltip over the affected handles