aboutsummaryrefslogtreecommitdiff
path: root/client/js/views/posts_header_view.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/js/views/posts_header_view.js')
-rw-r--r--client/js/views/posts_header_view.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/js/views/posts_header_view.js b/client/js/views/posts_header_view.js
index 79537e4..349e339 100644
--- a/client/js/views/posts_header_view.js
+++ b/client/js/views/posts_header_view.js
@@ -31,8 +31,8 @@ class PostsHeaderView {
});
keyboard.bind('p', () => {
- const firstPostNode
- = document.body.querySelector('.post-list li:first-child a');
+ const firstPostNode =
+ document.body.querySelector('.post-list li:first-child a');
if (firstPostNode) {
firstPostNode.focus();
}
@@ -53,8 +53,8 @@ class PostsHeaderView {
e.target.classList.toggle('disabled');
const safety = e.target.getAttribute('data-safety');
let browsingSettings = settings.getSettings();
- browsingSettings.listPosts[safety]
- = !browsingSettings.listPosts[safety];
+ browsingSettings.listPosts[safety] =
+ !browsingSettings.listPosts[safety];
settings.saveSettings(browsingSettings, true);
router.show(url.replace(/{page}/, 1));
}

© 2015 - 2026 Jakob L. Kreuze