Skip to content

Commit 97e6417

Browse files
author
thyttan
committed
messagegui: make sure to cancel unread timeout if persist
1 parent 271c38d commit 97e6417

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apps/messagegui/app.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ function showMessageRouter(msg, persist, calledFrom) {
104104
////var active; // active screen (undefined/"list"/"music"/"map"/"message"/"scroller"/"settings")
105105
//if (active==undefined) { } else if (active=="list") ... //and so on.
106106

107+
if (persist) {cancelReloadTimeout()}
108+
107109
if (msg.id=="music") {
108110
cancelReloadTimeout(); // don't auto-reload to clock now
109111
return showMusicMessage(msg);

0 commit comments

Comments
 (0)