mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
eslint: Enable space-infix-ops rule.
More about rule at https://eslint.org/docs/rules/space-infix-ops
This commit is contained in:
@@ -30,7 +30,7 @@ function get_or_set(fieldname, keep_leading_whitespace) {
|
||||
// because the DOM element might not exist yet when get_or_set
|
||||
// is called.
|
||||
return function (newval) {
|
||||
var elem = $('#'+fieldname);
|
||||
var elem = $('#' + fieldname);
|
||||
var oldval = elem.val();
|
||||
if (newval !== undefined) {
|
||||
elem.val(newval);
|
||||
|
||||
Reference in New Issue
Block a user