Commit 28f6d22c authored by Ahoy's avatar Ahoy

fix AdBlock iframe

parent 45a2a699
Pipeline #8906554 passed with stages
in 59 seconds
......@@ -154,6 +154,7 @@ function showPlayer(iframe, element, buttons) {
var yohohoIframe = document.querySelector('#yohoho-iframe');
yohohoIframe.style.display = 'block';
yohohoIframe.setAttribute('src', iframe);
yohohoIframe.setAttribute('class', '');
if (typeof element.setAttribute === 'function') {
var yohohoActive = document.querySelectorAll('.yohoho-active');
if (yohohoActive) {
......
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