Skip to content

Commit

Permalink
use a brand new tag el for ie8
Browse files Browse the repository at this point in the history
  • Loading branch information
gkatsev committed Mar 28, 2016
1 parent ac3771a commit 4663d0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/unit/player.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -972,6 +972,7 @@ test('Make sure that player\'s style el respects VIDEOJS_NO_DYNAMIC_STYLE option
equal(styles.length, 0, 'we should not get any style elements included in the DOM');

window.VIDEOJS_NO_DYNAMIC_STYLE = false;
tag = TestHelpers.makeTag();
player = TestHelpers.makePlayer({}, tag);
styles = document.querySelectorAll('style');
equal(styles.length, 1, 'we should have one style element in the DOM');
Expand Down

0 comments on commit 4663d0e

Please sign in to comment.