aboutsummaryrefslogtreecommitdiffstats
path: root/res/client.js
diff options
context:
space:
mode:
authorRblSb <msrblsb@gmail.com>2020-05-22 19:23:07 +0300
committerRblSb <msrblsb@gmail.com>2020-05-22 20:03:53 +0300
commita5f39c0deafc61bab42a895fe6febf0409d8f9ce (patch)
tree915a8788036173ba3a81334f4ba0f3f57d8c09bb /res/client.js
parent752c2dad8e908344aa1c735802d234ed7f3e3e51 (diff)
text-overflow for title item
Diffstat (limited to 'res/client.js')
-rw-r--r--res/client.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/res/client.js b/res/client.js
index e469a33..20d7eeb 100644
--- a/res/client.js
+++ b/res/client.js
@@ -2202,7 +2202,8 @@ client_players_Raw.prototype = {
}
,getVideoData: function(url,callback) {
var _gthis = this;
- var title = HxOverrides.substr(url,url.lastIndexOf("/") + 1,null);
+ var decodedUrl = decodeURIComponent(url.split("+").join(" "));
+ var title = HxOverrides.substr(decodedUrl,decodedUrl.lastIndexOf("/") + 1,null);
if(this.matchName.match(title)) {
title = this.matchName.matched(1);
} else {
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage