Skip to content

Commit

Permalink
More specific CSS selector. Hide only buttons.
Browse files Browse the repository at this point in the history
This keeps the answer timer visible. Should fix issue #12.
  • Loading branch information
ospalh committed Feb 12, 2013
1 parent ddb3b36 commit d2f6377
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Colorful toolbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,9 @@ def next_card_toggle_off():
'preferences.png')))

## Hide the edit and nmore buttons.
mw.reviewer._bottomCSS += ".stat {display:none;}"
## Looks like the old code was too general. RAS 2013-02-12
# mw.reviewer._bottomCSS += ".stat {display:none;}"
mw.reviewer._bottomCSS += "td.stat button {display:none;}"


# Create the menus
Expand Down

0 comments on commit d2f6377

Please sign in to comment.