diff --git a/plugins/precise-volume/front.js b/plugins/precise-volume/front.js index bffc5588..360f5cbc 100644 --- a/plugins/precise-volume/front.js +++ b/plugins/precise-volume/front.js @@ -136,7 +136,9 @@ function changeVolume(toIncrease, options) { // Save the new volume saveVolume(toPercent(videoStream.volume), options); // Slider value automatically rounds to multiples of 5 - slider.value = Math.max(options.savedVolume, 5); + slider.value = options.savedVolume > 0 && options.savedVolume < 5 ? + 5 : options.savedVolume; + // Change tooltips to new value setTooltip(options.savedVolume); // Show volume slider