Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Web-Comic-Reader
Commits
57ec414e
Commit
57ec414e
authored
Apr 21, 2017
by
afzafri
Browse files
destroy lightGallery when opening new comic
parent
f4b8b093
Changes
1
Hide whitespace changes
Inline
Side-by-side
assets/js/script.js
View file @
57ec414e
...
...
@@ -13,6 +13,11 @@ $(document).ready(function(){
// show loading
$
(
'
.se-pre-con
'
).
fadeIn
(
'
slow
'
);
// destroy lightGallery
var
$lg
=
$
(
'
#output
'
);
$lg
.
lightGallery
();
$lg
.
data
(
'
lightGallery
'
).
destroy
(
true
);
// clear previous blobs
clearBlobs
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment