Skip to content

Commit

Permalink
Automatically hide actions popover on scroll.
Browse files Browse the repository at this point in the history
Fixes zulip#3012.
  • Loading branch information
tommyip authored and showell committed Jan 3, 2017
1 parent d3743d2 commit 7719a34
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions static/js/popovers.js
Original file line number Diff line number Diff line change
Expand Up @@ -818,6 +818,10 @@ exports.register_click_handlers = function () {
}, true);
});

$('.app').on('scroll', function () {
popovers.hide_actions_popover();
});

};

exports.any_active = function () {
Expand Down

0 comments on commit 7719a34

Please sign in to comment.