1
0
mirror of https://github.com/videojs/video.js.git synced 2024-11-28 08:58:46 +02:00

quote vertical option so it doesn't get minified

This commit is contained in:
Gary Katsevman 2014-07-28 13:50:38 -04:00 committed by Steve Heffernan
parent e17dd2c68d
commit c794aeca34
2 changed files with 2 additions and 1 deletions

View File

@ -13,6 +13,7 @@ CHANGELOG
* Added a base for running saucelabs tests from grunt ([view](https://github.com/videojs/video.js/pull/1215))
* Added additional browsers for saucelabs testing ([view](https://github.com/videojs/video.js/pull/1216))
* Added support for listening to multiple events through a types array ([view](https://github.com/videojs/video.js/pull/1231))
* Exported the vertical option for the volume slider ([view](https://github.com/videojs/video.js/pull/1378))
--------------------

View File

@ -29,7 +29,7 @@ vjs.VolumeMenuButton.prototype.createMenu = function(){
var menu = new vjs.Menu(this.player_, {
contentElType: 'div'
});
var vc = new vjs.VolumeBar(this.player_, vjs.obj.merge({vertical: true}, this.options_.volumeBar));
var vc = new vjs.VolumeBar(this.player_, vjs.obj.merge({'vertical': true}, this.options_.volumeBar));
menu.addChild(vc);
return menu;
};