Privacy view: accesskey (9) + fixes

- collapse chat before entering privacy view
- don't allow chat to expand when in privacy view
- disallow pointer events for the leaflet-control placeholder so ic can be clicked through
This commit is contained in:
fkloft
2014-07-03 19:07:11 +02:00
parent c6392acb36
commit c6a6dc3105
2 changed files with 8 additions and 3 deletions

View File

@ -159,7 +159,8 @@ window.setupMap = function() {
// TODO? move the actual IITC DOM into the leaflet control areas, so dummy <div>s aren't needed
if(!isSmartphone()) {
// chat window area
$(window.map._controlCorners['bottomleft']).append($('<div>').width(708).height(108).addClass('leaflet-control').css('margin','0'));
$(window.map._controlCorners['bottomleft']).append(
$('<div>').width(708).height(108).addClass('leaflet-control').css({'pointer-events': 'none', 'margin': '0'}));
}
var addLayers = {};