aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-01-03 22:17:53 -0800
committerAlex Yatskov <alex@foosoft.net>2017-01-03 22:17:53 -0800
commit8049c6083ef6e709e92ea5f230cd8a764931b875 (patch)
tree695942474653b64f4caaf67071394f48946101e2 /ext/fg/js
parent6005b10f87318d102ac45800940390a3d9fbe1c9 (diff)
don't show add buttons till we know card state for #25
Diffstat (limited to 'ext/fg/js')
-rw-r--r--ext/fg/js/frame.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/fg/js/frame.js b/ext/fg/js/frame.js
index 8a99a405..f25ae8da 100644
--- a/ext/fg/js/frame.js
+++ b/ext/fg/js/frame.js
@@ -63,6 +63,8 @@ function api_setActionState({index, state, sequence}) {
} else {
classes.add('disabled');
}
+
+ classes.remove('pending');
}
}