diff options
| author | RblSb <msrblsb@gmail.com> | 2021-07-05 17:09:56 +0300 |
|---|---|---|
| committer | RblSb <msrblsb@gmail.com> | 2021-07-05 17:09:56 +0300 |
| commit | cf78d464be214eedcd7909001ece2aa0a216d136 (patch) | |
| tree | 5801ef0ca01589ed923c961a93b30278df9ea9d3 /src/client/Buttons.hx | |
| parent | ede45cea8706eb8540e466df9861c2af8ebf9c44 (diff) | |
vtt/srt subs support
Diffstat (limited to 'src/client/Buttons.hx')
| -rw-r--r-- | src/client/Buttons.hx | 4 |
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; |
