Develop #6

Merged
maximstewart merged 6 commits from develop into master 2020-03-02 03:06:07 +00:00
2 changed files with 3 additions and 2 deletions
Showing only changes of commit 6cc4dccdd2 - Show all commits

View File

@ -61,7 +61,7 @@
<!-- Modals --> <!-- Modals -->
<!-- Save Modal --> <!-- Save Modal -->
<div id="saveModal" class="modal-mask" style="display:none; opacity: 0%;"> <div id="saveModal" class="modal-mask" style="display:none; opacity: 0%;" name="closeSave">
<div class="modal"> <div class="modal">
<div class="modal-head"> <div class="modal-head">
<p class="modal-title">Save - Allowed: a-z, A-Z, 0-9, -, _</p> <p class="modal-title">Save - Allowed: a-z, A-Z, 0-9, -, _</p>

View File

@ -3,7 +3,8 @@ getSavedSessionIDs();
document.addEventListener("click", (e) => { document.addEventListener("click", (e) => {
if (e.button == 0) { // Left click if (e.button == 0) { // Left click
const target = e.target; const target = e.target;
const action = target.name; const action = target.getAttribute("name");
// Set selection first before doing any actions... // Set selection first before doing any actions...
if (target.tagName == "LI" && target.className.includes("sessionLI")) { if (target.tagName == "LI" && target.className.includes("sessionLI")) {