mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 17:36:27 +00:00
message_edit: Always show white spinner on "Save" button.
We should show "white" spinner on "Save" button in message edit form irrespective of the theme, as it looks better with the button having blue background.
This commit is contained in:
@@ -288,8 +288,9 @@ export function hide_message_edit_spinner($row) {
|
||||
}
|
||||
|
||||
export function show_message_edit_spinner($row) {
|
||||
const using_dark_theme = settings_data.using_dark_theme();
|
||||
loading.show_button_spinner($row.find(".loader"), using_dark_theme);
|
||||
// Always show the white spinner like we
|
||||
// do for send button in compose box.
|
||||
loading.show_button_spinner($row.find(".loader"), true);
|
||||
$row.find(".message_edit_save span").hide();
|
||||
$row.find(".message_edit_save").addClass("disable-btn");
|
||||
$row.find(".message_edit_cancel").addClass("disable-btn");
|
||||
|
||||
Reference in New Issue
Block a user