Update browser.js

Fix for Vier and other themes that use default Photo Browser modal and cannot navigate to albums.

`location.reload()` appeared to be overriding the `location.href` just above it that actually take you to the album. So it was taking you there but then immediately reloading the modal back to the "Recent Photos" page.
This commit is contained in:
Random Penguin 2025-08-31 17:27:59 -05:00 committed by GitHub
commit 741260ca3f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -72,7 +72,6 @@ const Browser = {
$('.folders a, .path a').on('click', function (e) {
e.preventDefault();
location.href = Browser._getUrl("minimal", location['hash'], this.dataset.folder);
location.reload();
});
$(".photo-album-photo-link").on('click', function (e) {