2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-05 08:59:27 +08:00

DEV: Export resetIdle function in desktop-notifications.js (#14474)

This commit is contained in:
Mark VanLandingham 2021-09-29 12:41:31 -05:00 committed by GitHub
parent 76a7b75d8a
commit 0cc151c296
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -128,7 +128,7 @@ function setupNotifications(appEvents) {
appEvents.on("page:changed", resetIdle);
}
function resetIdle() {
export function resetIdle() {
lastAction = Date.now();
}
function isIdle() {