mirror of
https://github.com/zulip/zulip.git
synced 2025-10-31 20:13:46 +00:00
eslint: Add and enable space-unary-ops rule.
Info about rule at https://eslint.org/docs/rules/space-unary-ops.
This commit is contained in:
@@ -77,7 +77,7 @@ function update_spectrum(popover, update_func) {
|
||||
|
||||
var popover_root = popover.closest(".popover");
|
||||
var current_top_px = parseFloat(popover_root.css('top').replace('px', ''));
|
||||
var height_delta = - (after_height - initial_height) * 0.5;
|
||||
var height_delta = -(after_height - initial_height) * 0.5;
|
||||
|
||||
popover_root.css('top', (current_top_px + height_delta) + "px");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user