Skip to content

Commit beb501e

Browse files
save file
1 parent f8c9f23 commit beb501e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

code-dev/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,6 @@ <h1 class=title>
189189
list.forEach(a=>{
190190

191191
var href = a.getAttribute('href');
192-
var b64 = btoa(href);
193192
var i = href.indexOf('/');
194193
var date = href.slice(0,i);
195194
$(a,'.date').textContent = date;
@@ -204,7 +203,7 @@ <h1 class=title>
204203
a.onclick = e=>{
205204

206205
e.preventDefault();
207-
window.location = `display.html?${b64}`;
206+
window.location = `display.html?date=${date}&file=${fn}`;
208207

209208
}//onclick
210209

0 commit comments

Comments
 (0)