Any click empties the mentions-suggestions

This commit is contained in:
Hannes Mannerheim 2016-02-16 12:36:23 +01:00
parent de078b42b5
commit 2c66b7e39c

View File

@ -3249,6 +3249,18 @@ $('body').on('keyup', 'div.queet-box-syntax', function(e) {
}
});
/* ·
·
· Any click empties the mentions-suggestions
·
· · · · · · · · · · · · · */
$(document).click(function() {
$('.mentions-suggestions').empty();
});
/* ·
·
· Store unposted queets in cache, if the user accidentally reloads the page or something