Don't change the URL as you scroll around (#119)
Fix https://github.com/matrix-org/matrix-public-archive/issues/115 Reverting behavior originally introduced in https://github.com/matrix-org/matrix-public-archive/pull/71
This commit is contained in:
parent
08254cbb49
commit
91d84fcc08
|
@ -264,14 +264,6 @@ class ArchiveRoomViewModel extends ViewModel {
|
|||
|
||||
// Update the calendar
|
||||
this._calendarViewModel.setActiveDate(currentTopPositionEventEntry.timestamp);
|
||||
|
||||
// Update the URL
|
||||
this.history.replaceUrlSilently(
|
||||
this._matrixPublicArchiveURLCreator.archiveUrlForDate(
|
||||
this._room.canonicalAlias || this._room.id,
|
||||
new Date(currentTopPositionEventEntry.timestamp)
|
||||
) + window.location.hash
|
||||
);
|
||||
}
|
||||
|
||||
get dayTimestampFrom() {
|
||||
|
|
Loading…
Reference in New Issue