Commit 7101cd2c authored by Rebecca Byrd's avatar Rebecca Byrd Committed by Elijah Byrd
Browse files

Minor CSS fix; fixed markers getting added in reverse order.

parent 97020b9e
Pipeline #16668 skipped
......@@ -59,7 +59,7 @@ div#zoom-base {
}
.map-bn {
cursor:pointer;
text-indent:-100em;
text-indent:-10000em;
border: none;
width: 100%;
height: 100%;
......@@ -138,7 +138,7 @@ span.accessibilityInfoClose {
background: url('icons/ic_close_black_24px.svg') no-repeat 0px 0px/100% 100%;
width: 100%;
height: 100%;
text-indent:-100em;
text-indent:-10000em;
position: absolute;
right: 0px;
top: 0px;
......
......@@ -77,7 +77,7 @@
// Create marker overlays
// We need a timeout - I'm not sure why. But the map bounds aren't caught up with us if we don't wait, and we need the map bounds set before we can position markers.
setTimeout(function(){
for(var i = 0; i < accessible_gmaps.markers.length; i++){
for(var i = accessible_gmaps.markers.length - 1; i >= 0; i--){
var marker = accessible_gmaps.markers[i];
accessible_gmaps.create_marker_div(marker, i);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment