mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Add tooltip to 'More' button to show keyboard shortcut (#2193)
* Add tooltip to 'More' button to show keyboard shortcut * Remove unused 'rem' key
This commit is contained in:
parent
434287a50a
commit
dc4ac1da66
1 changed files with 2 additions and 2 deletions
|
@ -667,7 +667,7 @@ class Reviewer:
|
|||
<td align=center valign=top id=middle>
|
||||
</td>
|
||||
<td align=right valign=top class=stat>
|
||||
<button onclick="pycmd('more');">
|
||||
<button title="%(morekey)s" onclick="pycmd('more');">
|
||||
%(more)s %(downArrow)s
|
||||
<span id=time class=stattxt></span>
|
||||
</button>
|
||||
|
@ -679,10 +679,10 @@ class Reviewer:
|
|||
time = %(time)d;
|
||||
</script>
|
||||
""" % dict(
|
||||
rem=self._remaining(),
|
||||
edit=tr.studying_edit(),
|
||||
editkey=tr.actions_shortcut_key(val="E"),
|
||||
more=tr.studying_more(),
|
||||
morekey=tr.actions_shortcut_key(val="M"),
|
||||
downArrow=downArrow(),
|
||||
time=self.card.time_taken() // 1000,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue