Commit fc46b6a1 authored by Ahoy's avatar Ahoy

decodeURIComponent

parent 29c071de
Pipeline #13412995 passed with stages
in 1 minute 21 seconds
......@@ -34,7 +34,7 @@ function yo(sel) {
}
var options = [].slice.call(yohoho.attributes).reduce(function (o, a) {
return /^data-/.test(a.name) && (o[a.name.substr(5)] = a.value), o;
return /^data-/.test(a.name) && (o[a.name.substr(5)] = decodeURIComponent(a.value)), o;
}, {});
if (options.title && options.title.indexOf('трейлер')+1 || t) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment