removing dead code.
This commit is contained in:
parent
7127194c4d
commit
21e95a35dd
|
@ -116,16 +116,6 @@ class View:
|
||||||
if example in model.chosen_examples:
|
if example in model.chosen_examples:
|
||||||
example_tag += ".example-chosen"
|
example_tag += ".example-chosen"
|
||||||
|
|
||||||
example_html = h(example_tag, {}, [
|
|
||||||
h("span.example-text", {"on": {"click": msg(ShowExampleMenu(example))} }, [
|
|
||||||
h("span", {}, example.text())
|
|
||||||
]),
|
|
||||||
h("div.example-translation-list", {}, [
|
|
||||||
h("div.example-translation", {}, [
|
|
||||||
h("span.example-arrow", {}, "↪"),
|
|
||||||
vt
|
|
||||||
]) for vt in View.view_translations(example.translations, example, model)])])
|
|
||||||
|
|
||||||
cluster = example.get_cluster()
|
cluster = example.get_cluster()
|
||||||
dot_attr = {"style": { "visibility": "visible" if cluster is None else "hidden"}}
|
dot_attr = {"style": { "visibility": "visible" if cluster is None else "hidden"}}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user