Adding an alert banner to top when not on localhost

This commit is contained in:
Shan Carter
2017-01-26 10:55:40 -08:00
parent 7426809669
commit 2197327ca6
7 changed files with 62 additions and 21 deletions
-1
View File
@@ -70,7 +70,6 @@ export default function(dom, data) {
div.innerHTML = oldHtml + div.innerHTML;
el.querySelector("a.github").setAttribute("href", data.githubUrl);
el.querySelector("a.github-issue").setAttribute("href", data.githubUrl + "/issues/new");
el.querySelector(".citation.short").textContent = data.concatenatedAuthors + ", " + '"' + data.title + '", Distill, ' + data.publishedYear + ".";