Fix popup hovering (bubbling)

This commit is contained in:
franzz committed 2020-08-20 22:02:57 +02:00
1 parent b0b283cf0f
commit 3c5a83b366
4 files changed
+25 -13

No files matched your search

+6 -1
View File
@@ -628,7 +628,12 @@ function initSpotMessages(aoMessages, aoTracks, bNoFeed) {
});
//Open tooltip on latest message in mobile mode
if(iKey === (aoMessages.length - 1) && self.vars(['project', 'mode']) == self.consts.modes.blog && (!oMsg.medias || oMsg.medias.length < 3) && isMobile()) oMarker.openPopup();
if(
iKey === (aoMessages.length - 1) &&
self.vars(['project', 'mode']) == self.consts.modes.blog &&
(!oMsg.medias || oMsg.medias.length < 3) &&
isMobile()
) oMarker.openPopup();
oSpot.tmp(['markers', oMsg.id_message], oMarker);
});