Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'master' of github.com:krewenki/jquery-lightbox

  • Loading branch information...
commit 527160af003043dcfa05f1d4a7f35d3073e4f9ce 2 parents 618861a + e7b6656
@krewenki authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 jquery.lightbox.js
View
6 jquery.lightbox.js
@@ -240,10 +240,10 @@
function preloadNeighborImages() {
if (opts.loopImages && opts.imageArray.length > 1) {
preloadNextImage = new Image();
- preloadNextImage.src = opts.imageArray[(opts.activeImage == (opts.imageArray.length - 1)) ? 0 : opts.activeImage + 1][0]
+ preloadNextImage.src = opts.imageArray[(opts.activeImage == (opts.imageArray.length - 1)) ? 0 : opts.activeImage + 1][0];
preloadPrevImage = new Image();
- preloadPrevImage.src = opts.imageArray[(opts.activeImage == 0) ? (opts.imageArray.length - 1) : opts.activeImage - 1][0]
+ preloadPrevImage.src = opts.imageArray[(opts.activeImage == 0) ? (opts.imageArray.length - 1) : opts.activeImage - 1][0];
} else {
if ((opts.imageArray.length - 1) > opts.activeImage) {
preloadNextImage = new Image();
@@ -380,7 +380,7 @@
};
function keyboardAction(e) {
- var o = e.data.opts
+ var o = e.data.opts;
var keycode = e.keyCode;
var escapeKey = 27;
Please sign in to comment.
Something went wrong with that request. Please try again.