mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 21:43:21 +00:00
js: Use ES6 object literal shorthand syntax.
Generated by ESLint. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
@@ -128,9 +128,9 @@ exports.set_up = function () {
|
||||
|
||||
channel.patch({
|
||||
url: "/json/settings/display",
|
||||
data: data,
|
||||
success: function () {},
|
||||
error: function (xhr) {
|
||||
data,
|
||||
success() {},
|
||||
error(xhr) {
|
||||
ui_report.error(
|
||||
settings_ui.strings.failure,
|
||||
xhr,
|
||||
|
||||
Reference in New Issue
Block a user