mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
client/posts: go back to page 1 on safety change
This commit is contained in:
@ -101,7 +101,12 @@ class PostsHeaderView extends events.EventTarget {
|
||||
settings.save(browsingSettings, true);
|
||||
this.dispatchEvent(
|
||||
new CustomEvent(
|
||||
'navigate', {detail: {parameters: this._ctx.parameters}}));
|
||||
'navigate', {
|
||||
detail: {
|
||||
parameters:
|
||||
Object.assign({}, this._ctx.parameters, {page: 1}),
|
||||
},
|
||||
}));
|
||||
}
|
||||
|
||||
_evtFormSubmit(e) {
|
||||
|
Reference in New Issue
Block a user