File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -459,7 +459,7 @@ export function finishView (view) {
459459 const content = $value . text ( )
460460 try {
461461 let position , zoom
462- if ( content . match ( / ^ [ \d \. \ ,\s ] + $ / ) ) {
462+ if ( content . match ( / ^ [ \d . , \s ] + $ / ) ) {
463463 const [ lng , lat , zoo ] = content . split ( ',' ) . map ( parseFloat )
464464 zoom = zoo
465465 position = [ lat , lng ]
@@ -474,7 +474,7 @@ export function finishView (view) {
474474
475475 L . tileLayer ( 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png' , {
476476 attribution : '<a href="https://www.openstreetmap.org/">OSM</a>' ,
477- maxZoom : 18 ,
477+ maxZoom : 18
478478 } ) . addTo ( map )
479479 L . marker ( position , {
480480 icon : L . icon ( {
@@ -489,7 +489,6 @@ export function finishView (view) {
489489 }
490490 } )
491491
492-
493492 // image href new window(emoji not included)
494493 const images = view . find ( 'img.raw[src]' ) . removeClass ( 'raw' )
495494 images . each ( ( key , value ) => {
You can’t perform that action at this time.
0 commit comments