From 5eb70cefd5580b062016f62eda5189cab943db54 Mon Sep 17 00:00:00 2001 From: iou1name Date: Thu, 13 Sep 2018 15:54:26 -0400 Subject: [PATCH] fix single quote in filenames screwing everything up --- static/musik.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/musik.js b/static/musik.js index 5d4d39e..878ddb7 100644 --- a/static/musik.js +++ b/static/musik.js @@ -36,7 +36,7 @@ function update_nav_items() { document.getElementById('currentDirectory').innerText = nav_items.shift(); let html_str = ''; for (let i = 0; i < nav_items.length; i++) { - html_str += '
  • ' + nav_items[i] + '
  • '; + html_str += `
  • ${nav_items[i]}
  • `; } document.getElementById('navItems').innerHTML = html_str; }