mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 07:22:23 -04:00
refactor: use f-string
This commit is contained in:
parent
8f6538e22e
commit
1dcb58bdab
1 changed files with 1 additions and 1 deletions
|
@ -321,7 +321,7 @@ require("anki/ui").loaded.then(() => require("anki/NoteEditor").instances[0].too
|
||||||
class_attribute = "linkb" if rightside else "rounded"
|
class_attribute = "linkb" if rightside else "rounded"
|
||||||
|
|
||||||
if not disables:
|
if not disables:
|
||||||
class_attribute += " perm"
|
class_attribute = f"{class_attribute} perm"
|
||||||
|
|
||||||
return f"""<button tabindex=-1
|
return f"""<button tabindex=-1
|
||||||
{id_attribute_assignment}
|
{id_attribute_assignment}
|
||||||
|
|
Loading…
Reference in a new issue