Skip to content

Commit

Permalink
add back z index for markers
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanTG committed Sep 24, 2024
1 parent 547656d commit cca1c97
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/assets/javascripts/application.js.erb
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ function showLocations(ids, lats, lons, contents, num_machines, latLng) {
var locationID = locationIDs[index];

el.id = 'marker_' + locationID;
el.style.cssText += 'z-index:' + num_machines[i];
el.innerHTML = '<span><b>' + num_machines[i] + '</b></span>';
el.addEventListener('touchstart', function () {
showLocationDetail(locationID);
Expand Down

0 comments on commit cca1c97

Please sign in to comment.