mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +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:
@@ -9,7 +9,7 @@ exports.server_update = function (opts) {
|
||||
status_text: opts.status_text,
|
||||
},
|
||||
idempotent: true,
|
||||
success: function () {
|
||||
success() {
|
||||
if (opts.success) {
|
||||
opts.success();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user