mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
eslint: Enable comma-dangle for functions.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
a79322bc94
commit
e014ea966a
@@ -96,7 +96,7 @@ function place_popover(hotspot) {
|
||||
$(hotspot.location.element),
|
||||
popover_height,
|
||||
popover_width,
|
||||
false
|
||||
false,
|
||||
);
|
||||
|
||||
switch (orientation) {
|
||||
@@ -151,7 +151,7 @@ function place_popover(hotspot) {
|
||||
default:
|
||||
blueslip.error(
|
||||
'Invalid popover placement value for hotspot \'' +
|
||||
hotspot.name + '\''
|
||||
hotspot.name + '\'',
|
||||
);
|
||||
break;
|
||||
}
|
||||
@@ -237,7 +237,7 @@ exports.close_hotspot_icon = function (elem) {
|
||||
function close_read_hotspots(new_hotspots) {
|
||||
const unwanted_hotspots = _.difference(
|
||||
Array.from(HOTSPOT_LOCATIONS.keys()),
|
||||
new_hotspots.map((hotspot) => hotspot.name)
|
||||
new_hotspots.map((hotspot) => hotspot.name),
|
||||
);
|
||||
|
||||
for (const hotspot_name of unwanted_hotspots) {
|
||||
|
||||
Reference in New Issue
Block a user