Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

Commit

Permalink
j3 error found while working on j4
Browse files Browse the repository at this point in the history
  • Loading branch information
astridx committed Apr 24, 2021
1 parent adc2c0c commit 932d614
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -299,10 +299,10 @@ document.addEventListener('DOMContentLoaded', function () {

// If popup
if (popup === "1") {
marker.bindPopup(obj.popuptext.replace(/<img src="images/g, '<img src="' + uriroot + 'images'));
marker.bindPopup(popuptext.replace(/<img src="images/g, '<img src="' + uriroot + 'images'));
}
if (popup === "2") {
marker.bindPopup(obj.popuptext.replace(/<img src="images/g, '<img src="' + uriroot + 'images')).openPopup();
marker.bindPopup(popuptext.replace(/<img src="images/g, '<img src="' + uriroot + 'images')).openPopup();
}

} catch (e) {
Expand Down

0 comments on commit 932d614

Please sign in to comment.