Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernhard Grünewaldt committed Feb 16, 2017
1 parent 15d35af commit 1db0a78
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions build/cc-image-lightbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,6 @@ var CCImageLightbox = function () {
if (self._isCurrentOpenImage()) {
var current = self._getCurrentOpenImage();
if (self._isImage(current.galleryId, current.index - 1)) {
console.log('left');
self.open(current.galleryId, current.index - 1);
}
}
Expand All @@ -272,7 +271,6 @@ var CCImageLightbox = function () {
if (self._isCurrentOpenImage()) {
var _current = self._getCurrentOpenImage();
if (self._isImage(_current.galleryId, _current.index + 1)) {
console.log('right');
self.open(_current.galleryId, _current.index + 1);
}
}
Expand Down
2 changes: 1 addition & 1 deletion build/cc-image-lightbox.min.js

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

2 changes: 0 additions & 2 deletions src/components.es6/ccImageLightbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ class CCImageLightbox {
if (self._isCurrentOpenImage()) {
const current = self._getCurrentOpenImage();
if (self._isImage(current.galleryId, current.index - 1)) {
console.log('left');
self.open(current.galleryId, current.index - 1);
}
}
Expand All @@ -162,7 +161,6 @@ class CCImageLightbox {
if (self._isCurrentOpenImage()) {
const current = self._getCurrentOpenImage();
if (self._isImage(current.galleryId, current.index + 1)) {
console.log('right');
self.open(current.galleryId, current.index + 1);
}
}
Expand Down

0 comments on commit 1db0a78

Please sign in to comment.