@bmlt-enabled/croutonjs 3.16.2 → 3.16.3
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.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.nojquery.js
CHANGED
|
@@ -14599,6 +14599,7 @@ function Crouton(config) {
|
|
|
14599
14599
|
|
|
14600
14600
|
self.rowClick = function(id) {
|
|
14601
14601
|
var map_marker = self.findMarkerById(id);
|
|
14602
|
+
if (!map_marker) return;
|
|
14602
14603
|
self.map.setCenter(map_marker.getPosition());
|
|
14603
14604
|
self.map.setZoom(17);
|
|
14604
14605
|
google.maps.event.trigger(map_marker, "click");
|
|
@@ -15557,7 +15558,7 @@ Crouton.prototype.render = function() {
|
|
|
15557
15558
|
dropdownCssClass: 'bmlt-drop'
|
|
15558
15559
|
});
|
|
15559
15560
|
|
|
15560
|
-
jQuery('[data-toggle="popover"]').popover();
|
|
15561
|
+
jQuery('[data-toggle="popover"]').popover().click(function(e) {e.preventDefault(); e.stopPropagation()});
|
|
15561
15562
|
jQuery('html').on('click', function (e) {
|
|
15562
15563
|
if (jQuery(e.target).data('toggle') !== 'popover') {
|
|
15563
15564
|
jQuery('[data-toggle="popover"]').popover('hide');
|
|
@@ -15750,6 +15751,7 @@ Crouton.prototype.initMap = function(callback) {
|
|
|
15750
15751
|
var bounds = new google.maps.LatLngBounds();
|
|
15751
15752
|
// We go through all the results, and get the "spread" from them.
|
|
15752
15753
|
for (var c = 0; c < self.meetingData.length; c++) {
|
|
15754
|
+
if (self.meetingData[c].venue_type == venueType.VIRTUAL) continue;
|
|
15753
15755
|
var lat = self.meetingData[c].latitude;
|
|
15754
15756
|
var lng = self.meetingData[c].longitude;
|
|
15755
15757
|
// We will set our minimum and maximum bounds.
|
|
@@ -15805,6 +15807,7 @@ Crouton.prototype.initMap = function(callback) {
|
|
|
15805
15807
|
// create an array of markers based on a given "locations" array.
|
|
15806
15808
|
// The map() method here has nothing to do with the Google Maps API.
|
|
15807
15809
|
self.meetingData.map(function (location, i) {
|
|
15810
|
+
if (location.venue_type == venueType.VIRTUAL) return;
|
|
15808
15811
|
var marker_html = '<dl><dt><strong>';
|
|
15809
15812
|
marker_html += location.meeting_name;
|
|
15810
15813
|
marker_html += '</strong></dt>';
|