use pandora.hasCapability

This commit is contained in:
j 2017-11-04 11:53:27 +02:00
commit db2d37e2bb
32 changed files with 49 additions and 53 deletions

View file

@ -122,7 +122,7 @@ pandora.ui.navigationView = function(type, videoRatio) {
that.replaceElement(0,
$element = Ox.Map({
// clickable: pandora.site.capabilities.canClickMap[pandora.user.level],
// clickable: pandora.hasCapability('canClickMap'),
find: ui.mapFind,
// 20 px menu + 24 px toolbar + 1px resizbar + 16px statusbar (if !item)
height: isEmbed ? window.innerHeight - 40