16.03.2023, 06:41
Most likely the problem is caused by trends that you have included via iframe element.
Try this code for fullscreen, it will only work on the main visualization.
Try this code for fullscreen, it will only work on the main visualization.
Code:
$(function() {
var body = document.body;
if (body.classList.contains('usermode')) {
function fs() {
document.documentElement.requestFullscreen();
body.removeEventListener('click', fs);
}
body.addEventListener('click', fs);
}
});