Permalink
Browse files

Fixed issues with missing semi colons that were cause problems when c…

…ompressing
  • Loading branch information...
1 parent 2669fa8 commit e7b66569a52afbe7e0a3041a0f041faefa56579e Logan committed with Oct 13, 2010
Showing with 3 additions and 3 deletions.
  1. +3 −3 jquery.lightbox.js
View
@@ -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;

0 comments on commit e7b6656

Please sign in to comment.