mirror of
https://github.com/zulip/zulip.git
synced 2025-11-20 22:48:16 +00:00
settings: Deduplicate the template code for checkboxes.
This commit is contained in:
committed by
Tim Abbott
parent
a3ba484c99
commit
6a11ff5b28
@@ -5,7 +5,7 @@ var exports = {};
|
||||
exports.set_up = function () {
|
||||
$("#ui-settings-status").hide();
|
||||
|
||||
$("#ui-settings .change-setting").change(function (e) {
|
||||
$("#ui-settings .ui-settings-form").change(function (e) {
|
||||
e.preventDefault();
|
||||
var labs_updates = {};
|
||||
_.each(["default_desktop_notifications"],
|
||||
|
||||
Reference in New Issue
Block a user