-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
server: use a programmatic dialog for alerts
This element is browser-native but more programmable than traditional `alert()` calls. This implements a requested feature: automatically clear all the `alert`s I missed while I was away. We do this by automatically closing the dialog after 5s. Impatient users (or engaged players) can close the dialog immediately by clicking anywhere (though this may not be obvious).
- Loading branch information
Showing
2 changed files
with
23 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters