Do use an ancestors of maps for ui
Otherwise, each map will react to the `.storage-ui xxx` css rule.
This commit is contained in:
parent
4b5b383ac4
commit
af8745e2d7
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@
|
|||
{{ block.super }}
|
||||
<script type="text/javascript">
|
||||
!(function() {
|
||||
var ui = new L.S.UI(document.body);
|
||||
var ui = new L.S.UI(document.querySelector('header'));
|
||||
var xhr = new L.S.Xhr(ui);
|
||||
var login = document.querySelector('a.login');
|
||||
if (login) {
|
||||
|
|
Loading…
Reference in a new issue