785c74b0d15bf5a3f4fc4a8b3069758c792208f5
Changed the inactivity prompt behavior based on user feedback: Changes: - Renamed button from "🏠 Return to home now" to "🔄 Return to rotation" - Reverted inactivity check to work on ALL pages (including home screen) - Updated returnToHome() function comments to clarify rotation behavior Behavior: - Inactivity prompt now appears on home screen AND other pages - If user is viewing a recipe (or any page), they can extend time - Clicking "Return to Rotation": * If NOT on home page: goes to home page first, then starts rotation * If on home page: just starts the rotation - This allows users to get "30 extra minutes" before touching the screen with dirty hands (e.g., when following a recipe) Use Case: User navigates to a recipe on menu app, inactivity prompt appears, they can click "30 more minutes" to read the recipe without any further screen interaction needed.
Languages
Shell
94.1%
JavaScript
4.7%
HTML
0.9%
CSS
0.3%