remove "view original"

remotes/1693045480750635534/spooky-22
Aevann1 2022-08-19 16:11:42 +02:00
parent 608b390ba3
commit 94b0045371
3 changed files with 1 additions and 5 deletions

View File

@ -134,7 +134,6 @@ function expandDesktopImage(url) {
if (!url) url = e.target.src
}
document.getElementById("desktop-expanded-image").src = url.replace("200w_d.webp", "giphy.webp");
document.getElementById("desktop-expanded-image-link").href = url;
document.getElementById("desktop-expanded-image-wrap-link").href = url;
bootstrap.Modal.getOrCreateInstance(document.getElementById('expandImageModal')).show();
};

View File

@ -7,9 +7,6 @@
<a href="/" rel="nofollow noopener noreferrer" target="_blank" id="desktop-expanded-image-wrap-link">
<img loading="lazy" alt="expanded image" referrerpolicy="no-referrer" src="" class="img-fluid rounded" id="desktop-expanded-image" style="min-width: 250px;min-width: max(250px,50vw)">
</a>
<div class="position-absolute d-flex justify-content-between align-items-center w-100 mt-2 ml-3">
<a href="/" rel="nofollow noopener noreferrer" target="_blank" class="text-gray-500 font-weight-bold text-left text-lg" id="desktop-expanded-image-link">View original</a>
</div>
</div>
</div>
</div>

View File

@ -17,7 +17,7 @@ set CACHE_VER = {
'css/win98.css': 63,
'js/award_modal.js': 254,
'js/bootstrap.js': 278,
'js/bootstrap.js': 279,
'js/category_modal.js': 200,
'js/comments+submission_listing.js': 267,
'js/submission_listing.js': 261,