From c2067bd6ec490abcfc2a1fb547a09f7a1f8fc9ba Mon Sep 17 00:00:00 2001 From: ErenOzdemir Date: Wed, 19 Nov 2025 17:08:15 +0300 Subject: [PATCH] username-field-hotfix --- css/60_photos.css | 6 ------ modules/services/mapilio.js | 4 ++-- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/css/60_photos.css b/css/60_photos.css index f345a6a530b..096fdf1eea1 100644 --- a/css/60_photos.css +++ b/css/60_photos.css @@ -415,12 +415,6 @@ label.panoramax-hd { display: block !important; } -#ideditor-viewer-mapilio-simple img { - width: 100%; - height: 100%; - object-fit: cover; - overflow: hidden -} /* Streetside Viewer (pannellum) */ .ms-wrapper .photo-attribution { diff --git a/modules/services/mapilio.js b/modules/services/mapilio.js index 0c67c9b8e65..3533144a7e3 100644 --- a/modules/services/mapilio.js +++ b/modules/services/mapilio.js @@ -368,9 +368,8 @@ export default { getUserData(d.created_by_id).then((username) => { if (username) { attribution - .append('a') + .append('span') .attr('class', 'captured_by') - .attr('target', '_blank') .text('@' + username); attribution @@ -378,6 +377,7 @@ export default { .text('|'); } + }).finally(()=>{ if (d.capture_time) { attribution .append('span')