soiz1 commited on
Commit
bf4347f
·
verified ·
1 Parent(s): 55cdc81

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +1 -1
index.html CHANGED
@@ -305,7 +305,7 @@ function openEditor(e) {
305
  `).join("\n")}
306
  <\/script>
307
  `;
308
- o = o.replace(/iconUrl: 'marker-icon\.png'/, `iconUrl: '${location.origin}/marker-icon.png'`);
309
  document.getElementById("output-html").value = o;
310
  const input = document.getElementById('output-html').value;
311
  const output = document.getElementById('output-code');
 
305
  `).join("\n")}
306
  <\/script>
307
  `;
308
+ o = o.replace(/iconUrl: 'marker-icon\.png'/g, `iconUrl: '${location.origin}/marker-icon.png'`);
309
  document.getElementById("output-html").value = o;
310
  const input = document.getElementById('output-html').value;
311
  const output = document.getElementById('output-code');