mirror of
https://github.com/zulip/zulip.git
synced 2026-07-12 21:04:41 +08:00
My take on a prettier pointer.
(imported from commit 7d0c37c85781bdd48efb4cf9cec49bb6df7f0954)
This commit is contained in:
parent
f5c4bb7ab2
commit
85398abba3
@ -176,9 +176,9 @@ function select_zephyr(zephyr_id) {
|
||||
selected_zephyr_id = get_id(next_zephyr);
|
||||
|
||||
// Clear the previous arrow.
|
||||
$("#selected").closest("td").empty();
|
||||
$("#selected").closest("td").empty().removeClass('selected_message_indicator');
|
||||
|
||||
next_zephyr.children("td:first").html('<p id="selected">▶</p>');
|
||||
next_zephyr.children("td:first").html('<p id="selected"></p>').addClass('selected_message_indicator');
|
||||
$.post("update", { pointer: selected_zephyr_id });
|
||||
|
||||
var main_div = $("#main_div");
|
||||
|
||||
@ -219,3 +219,8 @@ div#bottom_whitespace {
|
||||
display: block;
|
||||
height: 60%;
|
||||
}
|
||||
|
||||
td.selected_message_indicator {
|
||||
background-color: blue;
|
||||
width: 2px;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user