diff --git a/resources/assets/scripts/app/directives/player.coffee b/resources/assets/scripts/app/directives/player.coffee index 0e7387c8..4efd31ea 100644 --- a/resources/assets/scripts/app/directives/player.coffee +++ b/resources/assets/scripts/app/directives/player.coffee @@ -61,7 +61,7 @@ module.exports = angular.module('ponyfm').directive 'pfmPlayer', () -> $bar = $element.find('.volume-slider .bar') player.readyDef.done -> - initialY = (180 - (180 * (player.volume / 100))) - 7.5 + initialY = (180 - (180 * (player.volume / 100))) $knob.css {top: initialY} moveVolumeSlider = (absoluteY) ->