mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
Do not show warning if Browser Appearance has no field references (#3566)
This commit is contained in:
parent
d3f2f45805
commit
03c50c8332
1 changed files with 1 additions and 1 deletions
|
@ -628,7 +628,7 @@ pub fn render_card(
|
||||||
TEMPLATE_BLANK_CLOZE_LINK,
|
TEMPLATE_BLANK_CLOZE_LINK,
|
||||||
tr.card_template_rendering_more_info()
|
tr.card_template_rendering_more_info()
|
||||||
))
|
))
|
||||||
} else if !is_cloze && !qtmpl.renders_with_fields(context.nonempty_fields) {
|
} else if !is_cloze && !browser && !qtmpl.renders_with_fields(context.nonempty_fields) {
|
||||||
Some(format!(
|
Some(format!(
|
||||||
"<div>{}<br><a href='{}'>{}</a></div>",
|
"<div>{}<br><a href='{}'>{}</a></div>",
|
||||||
tr.card_template_rendering_empty_front(),
|
tr.card_template_rendering_empty_front(),
|
||||||
|
|
Loading…
Reference in a new issue