_location_details_loaded should work

This commit is contained in:
Laura Klünder 2017-11-28 11:34:34 +01:00
parent 0485e02a3a
commit f34a31990d

View file

@ -142,6 +142,7 @@ c3nav = {
}
},
_location_details_loaded: function(data) {
var $location_details = $('#location-details');
if (parseInt($location_details.attr('data-id')) !== data.id) {
// loaded too late, information no longer needed
return;