aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/Buttons.hx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/Buttons.hx')
-rw-r--r--src/client/Buttons.hx4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client/Buttons.hx b/src/client/Buttons.hx
index ee42f44..7df6486 100644
--- a/src/client/Buttons.hx
+++ b/src/client/Buttons.hx
@@ -158,9 +158,7 @@ class Buttons {
final isRawSingleVideo = value != "" && main.isRawPlayerLink(value)
&& main.isSingleVideoLink(value);
ge("#mediatitleblock").style.display = isRawSingleVideo ? "" : "none";
- if (JsApi.hasSubtitleSupport()) {
- ge("#subsurlblock").style.display = isRawSingleVideo ? "" : "none";
- }
+ ge("#subsurlblock").style.display = isRawSingleVideo ? "" : "none";
}
mediaUrl.onfocus = mediaUrl.oninput;
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage