mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
scroll back up to top for next card
This commit is contained in:
parent
fb8b1d26b2
commit
0cdd487792
1 changed files with 1 additions and 0 deletions
|
@ -85,6 +85,7 @@ class Reviewer(object):
|
||||||
</div>
|
</div>
|
||||||
<script>
|
<script>
|
||||||
function updateQA (qa) {
|
function updateQA (qa) {
|
||||||
|
location.hash = "";
|
||||||
$("#q").html(qa[0]);
|
$("#q").html(qa[0]);
|
||||||
$("#a").html(qa[1]);
|
$("#a").html(qa[1]);
|
||||||
$("#easebuts").html(qa[2]).addClass("inv");
|
$("#easebuts").html(qa[2]).addClass("inv");
|
||||||
|
|
Loading…
Reference in a new issue