From 13cfd61c835e41dd61a4c90b91a2854f7aa5b150 Mon Sep 17 00:00:00 2001 From: Leonard Kim Date: Tue, 25 Jun 2019 11:17:50 -0700 Subject: [PATCH] fix(index): set reload link as attribute, not raw html --- index.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 006d2775f..6f42cce92 100644 --- a/index.html +++ b/index.html @@ -93,12 +93,15 @@ + "font-size:small;" + "cursor: pointer'>" + showMoreText + "" + "   " - + "reload now" + ""; + var reloadLink = document.getElementById('reloadLink'); + reloadLink.setAttribute('href', href); + var showMoreElem = document.getElementById("showMore"); showMoreElem.addEventListener('click', function () { var moreInfoElem