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:
Yohan Boniface 2016-09-18 15:27:18 +02:00
parent 4b5b383ac4
commit af8745e2d7

View file

@ -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) {