From 6d79b8cd4cb3b256ee5616ffc196c87cf74bf6f8 Mon Sep 17 00:00:00 2001 From: Albin Larsson Date: Tue, 17 Apr 2018 18:56:58 +0200 Subject: Don't require captions toggle button to be enabled in order to show captions --- src/js/captions.js | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/js/captions.js') 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'); -- cgit v1.2.3