fix(index): set reload link as attribute, not raw html

This commit is contained in:
Leonard Kim 2019-06-25 11:17:50 -07:00 committed by virtuacoplenny
parent fa818bc386
commit 13cfd61c83
1 changed files with 4 additions and 1 deletions

View File

@ -93,12 +93,15 @@
+ "font-size:small;"
+ "cursor: pointer'>" + showMoreText + "</a>"
+ "&nbsp;&nbsp;&nbsp;"
+ "<a href='" + href + "' style='"
+ "<a id ='reloadLink' style='"
+ "text-decoration: underline;"
+ "font-size:small;"
+ "'>reload now</a>"
+ "</div>";
var reloadLink = document.getElementById('reloadLink');
reloadLink.setAttribute('href', href);
var showMoreElem = document.getElementById("showMore");
showMoreElem.addEventListener('click', function () {
var moreInfoElem