Skip to content

Commit

Permalink
v1.2.5
Browse files Browse the repository at this point in the history
thumbs scroll on opening fixed
  • Loading branch information
LCweb-ita committed Apr 17, 2019
1 parent 81f7271 commit 9e9399b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
8 changes: 5 additions & 3 deletions js/lc_lightbox.lite.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* LC Lightbox - LITE
* yet.. another jQuery lightbox.. or not?
*
* @version : 1.2.3
* @version : 1.2.5
* @copyright : Luca Montanari aka LCweb
* @website : https://lcweb.it
* @requires : jQuery v1.7 or later
Expand Down Expand Up @@ -1935,8 +1935,10 @@
$('.lcl_tn_inner').addClass('lcl_tn_mixed_types');
}

// elem offset
thumbs_nav_scroll_to_item(lcl_ai_vars.elem_index);
// elem offset - use a bit of delay to let thumbs to have proper shape
setTimeout(function() {
thumbs_nav_scroll_to_item(lcl_ai_vars.elem_index);
}, 300);
};


Expand Down
11 changes: 2 additions & 9 deletions js/lc_lightbox.lite.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9e9399b

Please sign in to comment.