support homonymy inside modal
This commit is contained in:
@@ -29,7 +29,6 @@ class Entry(Data):
|
||||
|
||||
grammar = entry_xml.querySelector("head grammar category")
|
||||
comment = entry_xml.querySelector("head comment")
|
||||
|
||||
self.status = status.textContent if status else ""
|
||||
self.headword = headword.textContent if headword else ""
|
||||
self.headword_type = headword.getAttribute("type") if headword else None
|
||||
@@ -97,7 +96,6 @@ class Entry(Data):
|
||||
if len(self.homonymy) == 0:
|
||||
view_buttons.append(buttons[4])
|
||||
else:
|
||||
console.log(self.homonymy)
|
||||
view_table.append((buttons[4], ", ".join(h.value for h in self.homonymy)))
|
||||
|
||||
if len(self.related_entries) == 0:
|
||||
|
||||
Reference in New Issue
Block a user