aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/client.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/res/client.js b/res/client.js
index 016a4e4..a11e3a6 100644
--- a/res/client.js
+++ b/res/client.js
@@ -2707,6 +2707,9 @@ client_players_Raw.prototype = {
var client_players_RawSubs = function() { };
client_players_RawSubs.__name__ = true;
client_players_RawSubs.loadSubs = function(item,video) {
+ if(item.subs == null || item.subs.length == 0) {
+ return;
+ }
var ext = PathTools.urlExtension(item.subs);
if(client_JsApi.hasSubtitleSupport(ext)) {
return;
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage