mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
eslint: change space-before-blocks from warning to error and fix violations
This commit is contained in:
committed by
Tim Abbott
parent
4491ea8d6b
commit
b8fc3f0e65
@@ -790,7 +790,7 @@ function _setup_page() {
|
||||
e.stopPropagation();
|
||||
var emoji_status = $('#admin-emoji-status');
|
||||
var emoji = {};
|
||||
$(this).serializeArray().map(function (x){emoji[x.name] = x.value;});
|
||||
$(this).serializeArray().map(function (x) {emoji[x.name] = x.value;});
|
||||
|
||||
channel.put({
|
||||
url: "/json/realm/emoji",
|
||||
@@ -842,7 +842,7 @@ function _setup_page() {
|
||||
pattern_status.hide();
|
||||
format_status.hide();
|
||||
var filter = {};
|
||||
$(this).serializeArray().map(function (x){filter[x.name] = x.value;});
|
||||
$(this).serializeArray().map(function (x) {filter[x.name] = x.value;});
|
||||
|
||||
channel.post({
|
||||
url: "/json/realm/filters",
|
||||
|
||||
Reference in New Issue
Block a user