aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/captions.js
diff options
context:
space:
mode:
authorSam Potts <sam@potts.es>2018-05-19 11:26:05 +1000
committerSam Potts <sam@potts.es>2018-05-19 11:26:05 +1000
commit1bab0d07b5b22230aab6e68105c8fc574add31e3 (patch)
tree34866e67f21a3e14c6874313ae8787795db96605 /src/js/captions.js
parent34401de3d03e61eb7d1a04f6f0b7599e7ce9cd93 (diff)
parent602353f4d953c5b083ee22fd0ee479ad605de281 (diff)
downloadplyr-1bab0d07b5b22230aab6e68105c8fc574add31e3.tar.lz
plyr-1bab0d07b5b22230aab6e68105c8fc574add31e3.tar.xz
plyr-1bab0d07b5b22230aab6e68105c8fc574add31e3.zip
Merge branch 'master' into develop
Diffstat (limited to 'src/js/captions.js')
-rw-r--r--src/js/captions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/captions.js b/src/js/captions.js
index e0692dcf..df717351 100644
--- a/src/js/captions.js
+++ b/src/js/captions.js
@@ -236,7 +236,7 @@ const captions = {
// Set the span content
if (utils.is.string(caption)) {
- content.textContent = caption.trim();
+ content.innerText = caption.trim();
} else {
content.appendChild(caption);
}