Added Bluemaps Integration tests

This commit is contained in:
kb01guy 2023-02-02 18:57:52 +01:00
parent 9715d2f1dc
commit 70178b5148
2 changed files with 11 additions and 0 deletions

View file

@ -0,0 +1,8 @@
// Mouseover event to remove scrolling from parent window's document.
document.body.addEventListener('mouseover', function() {
parent.window.document.html.style.overflow = 'hidden';
});
// Mouseover event to restore scrolling on parent window's document.
document.body.addEventListener('mouseleave', function() {
parent.window.document.html.style.overflow = '';
});

View file

@ -0,0 +1,3 @@
<div>
<iframe class="bluemap" src="{{ index .Params 0 }}" title="{{- index .Params 1 | markdownify -}}"></iframe>
</div>