Minor fix

This commit is contained in:
fbsanchez 2020-07-06 13:58:35 +02:00
parent c6db39dce1
commit 2442336f45
1 changed files with 7 additions and 1 deletions

View File

@ -768,7 +768,13 @@ var TreeController = {
}
// Data pop-up
if (typeof element.id != "undefined" && !isNaN(element.id)) {
if (
element.metaID != "undefined" &&
!isNaN(element.metaID) &&
element.metaID <= 0 &&
typeof element.id != "undefined" &&
!isNaN(element.id)
) {
var $dataImage = $(
'<img src="' +
(controller.baseURL.length > 0