Fix dialog layer not cleared when dialog gets closed
This commit is contained in:
parent
7f1e77dc70
commit
a967e438ce
3 changed files with 6 additions and 1 deletions
|
@ -1,5 +1,9 @@
|
|||
# Revision history for hanafudapi
|
||||
|
||||
## 0.2.0.1 -- 2018-08-26
|
||||
|
||||
* Games are now playable
|
||||
|
||||
## 0.2.0.0 -- 2018-08-02
|
||||
|
||||
* Games are now playable
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
-- documentation, see http://haskell.org/cabal/users-guide/
|
||||
|
||||
name: hanafuda-webapp
|
||||
version: 0.2.0.0
|
||||
version: 0.2.0.1
|
||||
synopsis: A webapp for the Haskell hanafuda library
|
||||
-- description:
|
||||
homepage: https://framagit.org/hanafuda
|
||||
|
|
|
@ -15,6 +15,7 @@ function Screen(modules) {
|
|||
function closeAndRun(dialog, action) {
|
||||
return function() {
|
||||
dialog.className = '';
|
||||
modules.dom.clear(dialog);
|
||||
action();
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue