Skip to content

Commit

Permalink
Fix: Emit router:location on contentObject reload
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverfoster authored Aug 14, 2024
1 parent eb3f77d commit 0768e84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ class Router extends Backbone.Router {
}

async updateLocation(currentLocation, type, id, currentModel) {
if (location._currentId === id) return;
if (location._currentId === id && id === null) return;

// Handles updating the location.
location._previousModel = location._currentModel;
Expand Down

0 comments on commit 0768e84

Please sign in to comment.