mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
make the "type:" input readonly in the front preview
This commit is contained in:
parent
b5a8d3f47c
commit
055c98f883
1 changed files with 1 additions and 1 deletions
|
@ -330,7 +330,7 @@ Please create a new card type first."""))
|
||||||
res = "<hr id=answer>" + res
|
res = "<hr id=answer>" + res
|
||||||
return res
|
return res
|
||||||
if type == 'q':
|
if type == 'q':
|
||||||
repl = "<input id='typeans' type=text value='exomple'>"
|
repl = "<input id='typeans' type=text value='exomple' readonly='readonly'>"
|
||||||
repl = "<center>%s</center>" % repl
|
repl = "<center>%s</center>" % repl
|
||||||
else:
|
else:
|
||||||
repl = answerRepl
|
repl = answerRepl
|
||||||
|
|
Loading…
Reference in a new issue