Skip to content

Commit 1db0a78

Browse files
author
Bernhard Grünewaldt
committed
cleanup
1 parent 15d35af commit 1db0a78

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

build/cc-image-lightbox.js

-2
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,6 @@ var CCImageLightbox = function () {
262262
if (self._isCurrentOpenImage()) {
263263
var current = self._getCurrentOpenImage();
264264
if (self._isImage(current.galleryId, current.index - 1)) {
265-
console.log('left');
266265
self.open(current.galleryId, current.index - 1);
267266
}
268267
}
@@ -272,7 +271,6 @@ var CCImageLightbox = function () {
272271
if (self._isCurrentOpenImage()) {
273272
var _current = self._getCurrentOpenImage();
274273
if (self._isImage(_current.galleryId, _current.index + 1)) {
275-
console.log('right');
276274
self.open(_current.galleryId, _current.index + 1);
277275
}
278276
}

build/cc-image-lightbox.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components.es6/ccImageLightbox.js

-2
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ class CCImageLightbox {
153153
if (self._isCurrentOpenImage()) {
154154
const current = self._getCurrentOpenImage();
155155
if (self._isImage(current.galleryId, current.index - 1)) {
156-
console.log('left');
157156
self.open(current.galleryId, current.index - 1);
158157
}
159158
}
@@ -162,7 +161,6 @@ class CCImageLightbox {
162161
if (self._isCurrentOpenImage()) {
163162
const current = self._getCurrentOpenImage();
164163
if (self._isImage(current.galleryId, current.index + 1)) {
165-
console.log('right');
166164
self.open(current.galleryId, current.index + 1);
167165
}
168166
}

0 commit comments

Comments
 (0)