mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
settings: Add option for fixed/fluid width.
This adds a new option for "fluid width" under `Display settings` section of SETTINGS/DISPLAY SETTINGS tab. Fixes: #11844.
This commit is contained in:
committed by
Tim Abbott
parent
389c56e88d
commit
a838de63d8
@@ -78,6 +78,11 @@ exports.set_up = function () {
|
||||
change_display_setting(data, '#display-settings-status');
|
||||
});
|
||||
|
||||
$('#fluid_layout_width').change(function () {
|
||||
var data = {fluid_layout_width: JSON.stringify(this.checked)};
|
||||
change_display_setting(data, '#display-settings-status');
|
||||
});
|
||||
|
||||
$("#night_mode").change(function () {
|
||||
exports.set_night_mode(this.checked);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user