mirror of https://github.com/zulip/zulip.git
Distinguish the selected zephyr in CSS
(imported from commit 42e243ff95de5427e78dbc532dfe9e50e9677438)
This commit is contained in:
parent
a8dcf09f1e
commit
ea42342031
|
@ -205,10 +205,9 @@ function respond_to_zephyr() {
|
|||
function update_pointer(zephyr) {
|
||||
selected_zephyr_id = get_id(zephyr);
|
||||
|
||||
// Clear the previous arrow.
|
||||
$("#selected").closest("td").empty().removeClass('selected_message_indicator');
|
||||
$('.selected_zephyr').removeClass('selected_zephyr');
|
||||
zephyr.addClass('selected_zephyr');
|
||||
|
||||
zephyr.children("td:first").html('<p id="selected"></p>').addClass('selected_message_indicator');
|
||||
$.post("update", { pointer: selected_zephyr_id });
|
||||
}
|
||||
|
||||
|
|
|
@ -218,7 +218,7 @@ div#bottom_whitespace {
|
|||
height: 60%;
|
||||
}
|
||||
|
||||
td.selected_message_indicator {
|
||||
.selected_zephyr .pointer {
|
||||
background-color: blue;
|
||||
width: 2px;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue