Fixed issue #5
This commit is contained in:
parent
3f61a08ebf
commit
6cc4dccdd2
|
@ -61,7 +61,7 @@
|
|||
|
||||
<!-- Modals -->
|
||||
<!-- 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-head">
|
||||
<p class="modal-title">Save - Allowed: a-z, A-Z, 0-9, -, _</p>
|
||||
|
|
|
@ -3,7 +3,8 @@ getSavedSessionIDs();
|
|||
document.addEventListener("click", (e) => {
|
||||
if (e.button == 0) { // Left click
|
||||
const target = e.target;
|
||||
const action = target.name;
|
||||
const action = target.getAttribute("name");
|
||||
|
||||
|
||||
// Set selection first before doing any actions...
|
||||
if (target.tagName == "LI" && target.className.includes("sessionLI")) {
|
||||
|
|
Loading…
Reference in New Issue