mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-17 19:21:04 +01:00
user selectable pagination
This commit is contained in:
@@ -7,7 +7,10 @@ define(['forum/accountheader'], function(header) {
|
||||
$('#submitBtn').on('click', function() {
|
||||
|
||||
var settings = {
|
||||
showemail: $('#showemailCheckBox').is(':checked') ? 1 : 0
|
||||
showemail: $('#showemailCheckBox').is(':checked') ? 1 : 0,
|
||||
usePagination: $('#usePaginationCheckBox').is(':checked') ? 1 : 0,
|
||||
topicsPerPage: $('#topicsPerPage').val(),
|
||||
postsPerPage: $('#postsPerPage').val()
|
||||
};
|
||||
|
||||
socket.emit('user.saveSettings', settings, function(err) {
|
||||
|
||||
Reference in New Issue
Block a user