forked from MarseyWorld/MarseyWorld
remove "view original"
parent
608b390ba3
commit
94b0045371
|
@ -134,7 +134,6 @@ function expandDesktopImage(url) {
|
||||||
if (!url) url = e.target.src
|
if (!url) url = e.target.src
|
||||||
}
|
}
|
||||||
document.getElementById("desktop-expanded-image").src = url.replace("200w_d.webp", "giphy.webp");
|
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;
|
document.getElementById("desktop-expanded-image-wrap-link").href = url;
|
||||||
bootstrap.Modal.getOrCreateInstance(document.getElementById('expandImageModal')).show();
|
bootstrap.Modal.getOrCreateInstance(document.getElementById('expandImageModal')).show();
|
||||||
};
|
};
|
||||||
|
|
|
@ -7,9 +7,6 @@
|
||||||
<a href="/" rel="nofollow noopener noreferrer" target="_blank" id="desktop-expanded-image-wrap-link">
|
<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)">
|
<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>
|
</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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -17,7 +17,7 @@ set CACHE_VER = {
|
||||||
'css/win98.css': 63,
|
'css/win98.css': 63,
|
||||||
|
|
||||||
'js/award_modal.js': 254,
|
'js/award_modal.js': 254,
|
||||||
'js/bootstrap.js': 278,
|
'js/bootstrap.js': 279,
|
||||||
'js/category_modal.js': 200,
|
'js/category_modal.js': 200,
|
||||||
'js/comments+submission_listing.js': 267,
|
'js/comments+submission_listing.js': 267,
|
||||||
'js/submission_listing.js': 261,
|
'js/submission_listing.js': 261,
|
||||||
|
|
Loading…
Reference in New Issue