Skip to content

Commit

Permalink
@mmcc fixed localization of captions/subtitles menu off buttons. closes
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcc authored and heff committed Oct 31, 2014
1 parent 768e40b commit 957687d
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 @@ -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))

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

Expand Down
2 changes: 1 addition & 1 deletion src/js/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -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));
};

Expand Down

0 comments on commit 957687d

Please sign in to comment.