You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by dg...@apache.org on 2019/12/12 14:21:06 UTC

[incubator-dlab] 01/03: [DLAB-1380]: Fixed initial slider is not loaded if open links by turn in one browser

This is an automated email from the ASF dual-hosted git repository.

dgnatyshyn pushed a commit to branch gh-pages
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git

commit 6b0df33006bd308d7dc35307bf89ed6c75889009
Author: Dmytro Gnatyshyn <di...@ukr.net>
AuthorDate: Thu Dec 12 16:18:48 2019 +0200

    [DLAB-1380]: Fixed initial slider is not loaded if open links by turn in one browser
---
 index.html     | 2 +-
 src/js/init.js | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/index.html b/index.html
index d8b5179..61e0bbe 100755
--- a/index.html
+++ b/index.html
@@ -925,7 +925,7 @@
     </footer>
 
     <div id="details-overlay" class="overlay">
-        <div class="overlay-wrap">
+        <div class="overlay-wrap" style="display: none">
             <article class="sources">
                 <a class="close-butt">&times;</a>
                 <a class="dlab-logo"></a>
diff --git a/src/js/init.js b/src/js/init.js
index 13d1dd4..073360f 100644
--- a/src/js/init.js
+++ b/src/js/init.js
@@ -71,6 +71,9 @@ $(document).ready(function () {
             'left': 0,
             'opacity': 1
         });
+        $('.overlay-wrap').css({
+            display: "flex"
+        });
     });
 
     $('.close-butt').on('click', function () {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org