From 8049c6083ef6e709e92ea5f230cd8a764931b875 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Tue, 3 Jan 2017 22:17:53 -0800 Subject: don't show add buttons till we know card state for #25 --- ext/fg/css/frame.css | 4 ++++ ext/fg/js/frame.js | 2 ++ 2 files changed, 6 insertions(+) (limited to 'ext/fg') diff --git a/ext/fg/css/frame.css b/ext/fg/css/frame.css index 67caf152..dc04184d 100644 --- a/ext/fg/css/frame.css +++ b/ext/fg/css/frame.css @@ -86,6 +86,10 @@ body { opacity: 0.25; } +.action-bar .pending { + visibility: hidden; +} + /* term styles */ .term-expression { 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'); } } -- cgit v1.2.3