From 26f24012cb506a6ea20eb28a6ac1ac954910071d Mon Sep 17 00:00:00 2001 From: Alberto Elias Date: Mon, 25 Jul 2016 11:11:03 +0100 Subject: [PATCH] Changes
to for play button text as there is no
--- src/js/video.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/video.js b/src/js/video.js index cabe41f..3491001 100644 --- a/src/js/video.js +++ b/src/js/video.js @@ -182,7 +182,7 @@ class Video { const playButtonEl = document.createElement('button'); playButtonEl.className = 'o-video__play-button'; - const playButtonTextEl = document.createElement('dd'); + const playButtonTextEl = document.createElement('span'); playButtonTextEl.className = 'o-video__play-button-text'; playButtonTextEl.textContent = 'Play video'; playButtonEl.appendChild(playButtonTextEl);