mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 00:46:03 +00:00
Revert "Tweak hotkey behavior when pointer isn't shown."
This reverts commit 74fb298c711e61ae98c210d0ed11c875ce6ba591. We've decided this experiment didn't work out. (imported from commit 8acd3a030b692f9397155a20a9f89e63ed6a6cf7)
This commit is contained in:
@@ -733,17 +733,8 @@ exports.stream_sidebar_currently_popped = function () {
|
||||
return current_stream_sidebar_elem !== undefined;
|
||||
};
|
||||
|
||||
exports.show_pointer = function (apply_now) {
|
||||
exports.show_pointer = function () {
|
||||
pointer_visible = true;
|
||||
if (apply_now) {
|
||||
// Needs a selection change to actually apply the class. Otherwise the
|
||||
// next selection change makes the cursor visible.
|
||||
current_msg_list.select_id(current_msg_list.selected_id());
|
||||
}
|
||||
};
|
||||
|
||||
exports.pointer_visible = function () {
|
||||
return pointer_visible;
|
||||
};
|
||||
|
||||
$(function () {
|
||||
|
||||
Reference in New Issue
Block a user