open latest marker on mobile devices
This commit is contained in:
@@ -347,6 +347,9 @@ function initSpotMessages(aoMessages, aoTracks) {
|
|||||||
offset: new L.Point(0, -30)
|
offset: new L.Point(0, -30)
|
||||||
});
|
});
|
||||||
|
|
||||||
|
//Open tooltip on latest message in mobile mode
|
||||||
|
if(iKey === 0 && self.vars(['project', 'mode']) == self.consts.modes.blog && (!oMsg.pics || oMsg.pics.length < 3) && self.tmp('mobile')) oMarker.openPopup();
|
||||||
|
|
||||||
oSpot.tmp(['markers', oMsg.id_message], oMarker);
|
oSpot.tmp(['markers', oMsg.id_message], oMarker);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user