Skip to content

Commit

Permalink
Exposed the vertical option for slider controls. closes #1303
Browse files Browse the repository at this point in the history
  • Loading branch information
TheUltDev authored and heff committed Jun 26, 2014
1 parent fc4d00c commit b66ef80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ CHANGELOG
* Fixed issues around webvtt cue time parsing. Fixed #877, fixed #183. ([view](https://github.com/videojs/video.js/pull/1236))
* Fixed an IE11 issue where clicking on the video wouldn't show the controls ([view](https://github.com/videojs/video.js/pull/1291))
* Added a composer.json for PHP packages ([view](https://github.com/videojs/video.js/pull/1241))
* Exposed the vertical option for slider controls ([view](https://github.com/videojs/video.js/pull/1303))

--------------------

Expand Down
2 changes: 1 addition & 1 deletion src/js/slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ vjs.Slider.prototype.calculateDistance = function(event){
boxW = boxH = el.offsetWidth;
handle = this.handle;

if (this.options_.vertical) {
if (this.options()['vertical']) {
boxY = box.top;

if (event.changedTouches) {
Expand Down

0 comments on commit b66ef80

Please sign in to comment.