1
0
mirror of https://github.com/videojs/video.js.git synced 2025-01-15 10:39:58 +02:00

@mmcc fixed localization of captions/subtitles menu off buttons. closes #1632

This commit is contained in:
Matthew McClure 2014-10-30 17:21:58 -07:00 committed by Steve Heffernan
parent 768e40b169
commit 957687d449
2 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@ CHANGELOG
## HEAD (Unreleased)
* @heff fixed checking for child options in the parent options to allow for 'false' ([view](https://github.com/videojs/video.js/pull/1630))
* @heff fixed the VolumeMenuButton options to allow passing 'vertical' to the VolumeBar ([view](https://github.com/videojs/video.js/pull/1631))
* @mmcc fixed localization of captions/subtitles menu off buttons ([view](https://github.com/videojs/video.js/pull/1632))
--------------------

View File

@ -64,7 +64,7 @@ vjs.MenuItem = vjs.Button.extend({
vjs.MenuItem.prototype.createEl = function(type, props){
return vjs.Button.prototype.createEl.call(this, 'li', vjs.obj.merge({
className: 'vjs-menu-item',
innerHTML: this.options_['label']
innerHTML: this.localize(this.options_['label'])
}, props));
};