Commit 4c91dc0d authored by Ahoy's avatar Ahoy

style

parent b72f6c86
Pipeline #111832772 passed with stages
in 26 seconds
......@@ -420,7 +420,7 @@ function showPlayer(iframe, quality, translate, element, buttons, size) {
}
setTimeout(function () {
var btn = setInterval(function () {
if (parseInt(yohohoButtons.style.right) > -parseInt(yohohoButtons.offsetWidth)+(30*size)) {
if (parseInt(yohohoButtons.style.right || '0') > -parseInt(yohohoButtons.offsetWidth)+(30*size)) {
yohohoButtons.style.right = (parseInt(yohohoButtons.style.right)-1) + 'px';
}
else {
......
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