mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
Merge pull request #249 from lins05/front-preview-type-input-readonly
make the "type:" input readonly in the front preview
This commit is contained in:
commit
36b2a889cc
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
|
||||
return res
|
||||
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
|
||||
else:
|
||||
repl = answerRepl
|
||||
|
|
Loading…
Reference in a new issue