From 15ef0488eed1aa40de1610791bcfd8d4e9e684e5 Mon Sep 17 00:00:00 2001 From: Tancre Date: Thu, 9 Sep 2021 19:19:15 +0200 Subject: [PATCH] corrections and --- open/index.html | 4 ++-- open/scripts/DragResizeClose.js | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/open/index.html b/open/index.html index d34bd44..b239f7d 100644 --- a/open/index.html +++ b/open/index.html @@ -59,12 +59,12 @@

Contributions:

HAM DISTRO ⟶ XPUB3

-

OUIJA SEANCE ⟶ Simon Brown

+

OUIJA SEANCE ⟶ Simon Browne

Blank Page Syndrome ⟶ Clara Noseda

Lingo Bingo ⟶ XPUB1

Civil Entertainment Sirens® ⟶ Martin Foucaut

Oh, look at the wifi: words fly around ⟶ Federico Poni

-

Ilinx ⟶ Tancredi Di Giovanni

+

Ilinx & Words Map ⟶ Tancredi Di Giovanni

Bookshop:

diff --git a/open/scripts/DragResizeClose.js b/open/scripts/DragResizeClose.js index 3b0797b..16ffa07 100644 --- a/open/scripts/DragResizeClose.js +++ b/open/scripts/DragResizeClose.js @@ -1,6 +1,6 @@ class DragResizeClose { constructor() { - this.zIndex = 4; + this.drag(); this.setDraggables(); this.setZindex(); @@ -52,11 +52,11 @@ class DragResizeClose { } setZindex() { - let thatZindex = this.zIndex; $('#dragZone div').mousedown(function() { // Setup z-index handler $(this).addClass('top').removeClass('bottom'); $(this).siblings().removeClass('top').addClass('bottom'); - $(this).css("z-index", thatZindex++); + $(this).css("z-index", zIndex++); + return zIndex++ }); }