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);
|
$("#viewport .lt").toggleClass("notified", newState);
|
||||||
}
|
}
|
||||||
|
|
||||||
$(document).on("visibilitychange focus", () => {
|
$(document).on("visibilitychange focus click", () => {
|
||||||
if (sidebar.find(".highlight").length === 0) {
|
if (sidebar.find(".highlight").length === 0) {
|
||||||
toggleNotificationMarkers(false);
|
toggleNotificationMarkers(false);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user