make double-click on portal title in details panel close the panel
TODO: better interface (close button?), but at least there's *some* way of closing it now
This commit is contained in:
parent
a2a9d3458d
commit
8b2472701a
@ -58,7 +58,7 @@ window.renderPortalDetails = function(guid) {
|
||||
$('#portaldetails')
|
||||
.attr('class', TEAM_TO_CSS[getTeam(d)])
|
||||
.html(''
|
||||
+ '<h3>'+d.portalV2.descriptiveText.TITLE+'</h3>'
|
||||
+ '<h3 ondblclick="renderPortalDetails(null);">'+d.portalV2.descriptiveText.TITLE+'</h3>'
|
||||
// help cursor via “.imgpreview img”
|
||||
+ '<div class="imgpreview" '+imgTitle+' style="background-image: url('+img+')">'
|
||||
+ '<img class="hide" src="'+img+'"/>'
|
||||
|
Loading…
x
Reference in New Issue
Block a user