diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c92cc853..3d66d1a19 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ CHANGELOG * @nickygerritsen Update Dutch language file ([view](https://github.com/videojs/video.js/pull/3297)) * @hartman Add descriptions and audio button to adaptive classes ([view](https://github.com/videojs/video.js/pull/3312)) * @MattiasBuelens Retain details from tech error ([view](https://github.com/videojs/video.js/pull/3313)) +* @nickygerritsen Fix test for tooltips in IE8 ([view](https://github.com/videojs/video.js/pull/3327)) -------------------- diff --git a/test/unit/button.test.js b/test/unit/button.test.js index 23887eb5d..10bb1c60a 100644 --- a/test/unit/button.test.js +++ b/test/unit/button.test.js @@ -22,6 +22,6 @@ test('should localize its text', function(){ el = testButton.createEl(); ok(el.nodeName.toLowerCase().match('button')); - ok(el.innerHTML.match('vjs-control-text">Juego')); + ok(el.innerHTML.match(/vjs-control-text"?>Juego/)); equal(el.getAttribute('title'), 'Juego'); });