Fix volume slider not working on nowplayingbar

Turns out, by wrapping the code in a function it takes the necessary bits out of scope, causing the nowplayingbar to become non-functional when it comes to adjusting volume.

Fixes https://github.com/jellyfin/jellyfin/issues/988
This commit is contained in:
Sparky 2019-02-23 13:30:49 -05:00
parent fe28f88a99
commit 134bbbf6c0
2 changed files with 3 additions and 6 deletions

3
.gitignore vendored
View file

@ -71,9 +71,6 @@ coverage
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript