mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
client/posts: support content aware post flow option
This commit is contained in:
@ -120,6 +120,7 @@ class PostListController {
|
||||
bulkEdit: {
|
||||
tags: this._bulkEditTags,
|
||||
},
|
||||
postFlow: settings.get().postFlow,
|
||||
});
|
||||
const view = new PostsPageView(pageCtx);
|
||||
view.addEventListener("tag", (e) => this._evtTag(e));
|
||||
|
@ -18,6 +18,7 @@ const defaultSettings = {
|
||||
postsPerPage: 42,
|
||||
tagUnderscoresAsSpaces: false,
|
||||
darkTheme: false,
|
||||
postFlow: false,
|
||||
};
|
||||
|
||||
class Settings extends events.EventTarget {
|
||||
|
@ -45,6 +45,7 @@ class SettingsView extends events.EventTarget {
|
||||
tagUnderscoresAsSpaces: this._find("underscores-as-spaces")
|
||||
.checked,
|
||||
darkTheme: this._find("dark-theme").checked,
|
||||
postFlow: this._find("post-flow").checked,
|
||||
},
|
||||
})
|
||||
);
|
||||
|
Reference in New Issue
Block a user