mirror of
https://github.com/discourse/discourse.git
synced 2025-09-08 12:06:51 +08:00
DEV: Export resetIdle function in desktop-notifications.js (#14474)
This commit is contained in:
parent
76a7b75d8a
commit
0cc151c296
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ function setupNotifications(appEvents) {
|
||||||
appEvents.on("page:changed", resetIdle);
|
appEvents.on("page:changed", resetIdle);
|
||||||
}
|
}
|
||||||
|
|
||||||
function resetIdle() {
|
export function resetIdle() {
|
||||||
lastAction = Date.now();
|
lastAction = Date.now();
|
||||||
}
|
}
|
||||||
function isIdle() {
|
function isIdle() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue