Commit eeb38302 by jmclaus

Fixed failing test.

parent 332bfa96
......@@ -547,7 +547,7 @@
});
it('replace the full screen button tooltip', function() {
expect($('.add-fullscreen')).toHaveAttr('title', 'Exit fullscreen');
expect($('.add-fullscreen')).toHaveAttr('title', 'Exit full browser');
});
it('add the video-fullscreen class', function() {
......@@ -573,7 +573,7 @@
});
it('replace the full screen button tooltip', function() {
expect($('.add-fullscreen')).toHaveAttr('title', 'Fullscreen');
expect($('.add-fullscreen')).toHaveAttr('title', 'Fill browser');
});
it('remove the video-fullscreen class', function() {
......
......@@ -195,8 +195,8 @@ function () {
this.videoControl.fullScreenState = true;
fullScreenClassNameEl.addClass('video-fullscreen');
this.isFullScreen = true;
this.videoControl.fullScreenEl.attr('title', gettext('Exit fullscreen'));
this.videoControl.fullScreenEl.text(gettext('Exit fullscreen'));
this.videoControl.fullScreenEl.attr('title', gettext('Exit full browser'));
this.videoControl.fullScreenEl.text(gettext('Exit full browser'));
}
this.trigger('videoCaption.resize', null);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment