Commit 162b157b authored by Ian Dennis Miller's avatar Ian Dennis Miller

fix article picker titles

parent de34f4c6
......@@ -10,6 +10,7 @@ function main() {
// display all cards
show_all();
close_ui();
show_appearances();
// init keyboard
document.onkeydown = handler;
......
......@@ -47,7 +47,7 @@ ul {
.appearance {
font-style: italic;
/*display: none;*/
display: none;
font-size: 10pt;
margin-top: 0;
margin-bottom: 0.5em;
......
......@@ -70,10 +70,16 @@ class VisFact:
title=title
)
appearance_cite = "{authors}. ({year}). {title}.".format(
authors=appearance_authors,
year=appearance_year,
title=appearance_title
)
identicon_data = self.identicon_generator.generate(data=quote, width=24, height=24)
if appearance_id not in articles.keys():
articles[appearance_id] = cite
articles[appearance_id] = appearance_cite
source = {
'authors': authors,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment