Commit 746cec50 authored by Ahoy's avatar Ahoy

style

parent 1ba2f071
Pipeline #111828440 passed with stages
in 28 seconds
......@@ -413,7 +413,9 @@ function showPlayer(iframe, quality, translate, element, buttons, size) {
size = size ? parseFloat(size) : 1;
if (yohohoButtons) {
yohohoButtons.style = yohohoButtons.style ? yohohoButtons.style : {};
yohohoButtons.style.right = '0';
if (yohohoButtons.style && typeof yohohoButtons.style === 'object') {
yohohoButtons.style.right = '0';
}
setTimeout(function () {
var btn = setInterval(function () {
if (parseInt(yohohoButtons.style.right) > -parseInt(yohohoButtons.offsetWidth)+(30*size)) {
......
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