mirror of
https://github.com/thelounge/thelounge.git
synced 2024-06-13 03:02:28 +02:00
Merge pull request #1214 from thelounge/xpaw/more-focus
Consider click also a read activity
This commit is contained in:
commit
866409bfb0
|
@ -1600,7 +1600,7 @@ $(function() {
|
|||
$("#viewport .lt").toggleClass("notified", newState);
|
||||
}
|
||||
|
||||
$(document).on("visibilitychange focus", () => {
|
||||
$(document).on("visibilitychange focus click", () => {
|
||||
if (sidebar.find(".highlight").length === 0) {
|
||||
toggleNotificationMarkers(false);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue