Merge pull request #1214 from thelounge/xpaw/more-focus

Consider click also a read activity
This commit is contained in:
Jérémie Astori 2017-06-09 22:49:34 -04:00 committed by GitHub
commit 866409bfb0

View File

@ -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);
} }