diff options
author | Sam Potts <sam@potts.es> | 2018-04-18 08:49:05 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-18 08:49:05 +1000 |
commit | 56d1be944720a98aad0de52de83ac561af21e93b (patch) | |
tree | 97cce52a8dd621d712950677b097a37cf499f77e /src/js/captions.js | |
parent | a241cb52154afb746d6151e27093f89ab75badd2 (diff) | |
parent | 6d79b8cd4cb3b256ee5616ffc196c87cf74bf6f8 (diff) | |
download | plyr-56d1be944720a98aad0de52de83ac561af21e93b.tar.lz plyr-56d1be944720a98aad0de52de83ac561af21e93b.tar.xz plyr-56d1be944720a98aad0de52de83ac561af21e93b.zip |
Merge pull request #903 from friday/901
Show captions even if toggle button is omitted from controls
Diffstat (limited to 'src/js/captions.js')
-rw-r--r-- | src/js/captions.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/js/captions.js b/src/js/captions.js index 45efcf40..c6618fda 100644 --- a/src/js/captions.js +++ b/src/js/captions.js @@ -250,11 +250,6 @@ const captions = { // Display captions container and button (for initialization) show() { - // If there's no caption toggle, bail - if (!utils.is.element(this.elements.buttons.captions)) { - return; - } - // Try to load the value from storage let active = this.storage.get('captions'); |