mirror of
https://github.com/friendica/friendica
synced 2026-04-10 20:06:44 +02:00
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:
parent
0ad8348cdc
commit
741260ca3f
1 changed files with 0 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue