Fix dialog layer not cleared when dialog gets closed

This commit is contained in:
Sasha 2018-08-26 21:56:54 +02:00
parent 7f1e77dc70
commit a967e438ce
3 changed files with 6 additions and 1 deletions

View file

@ -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

View file

@ -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

View file

@ -15,6 +15,7 @@ function Screen(modules) {
function closeAndRun(dialog, action) {
return function() {
dialog.className = '';
modules.dom.clear(dialog);
action();
};
}