@bmlt-enabled/croutonjs 3.18.3 → 3.18.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/crouton-core.js +4 -1
- package/crouton-core.min.js +1 -1
- package/crouton-gmaps.js +4 -1
- package/crouton-gmaps.min.js +1 -1
- package/crouton.js +4 -1
- package/crouton.min.js +1 -1
- package/crouton.nojquery.js +4 -1
- package/crouton.nojquery.min.js +1 -1
- package/package.json +1 -1
package/crouton-core.js
CHANGED
|
@@ -17251,7 +17251,10 @@ Crouton.prototype.render = function(doMeetingMap = false) {
|
|
|
17251
17251
|
jQuery("#bmlt-map").removeClass("hide");
|
|
17252
17252
|
}
|
|
17253
17253
|
if (self.config['map_page'] && !doMeetingMap) {
|
|
17254
|
-
|
|
17254
|
+
if (self.meetingData.filter(m => m.venue_type != 2).length==0) {
|
|
17255
|
+
jQuery('#filterButton_embeddedMapPage').addClass('hide');
|
|
17256
|
+
}
|
|
17257
|
+
else croutonMap.initialize('byfield_embeddedMapPage', self.meetingData);
|
|
17255
17258
|
}
|
|
17256
17259
|
if (self.config['refresh_map']) {
|
|
17257
17260
|
croutonMap.refreshMeetings(self.meetingData, true, true);
|