Permalink
Browse files

Fixing Travis.ci build

  • Loading branch information...
1 parent 01aa0fc commit 78554084dcd8400f1dd203ed27a313141d5eb8ab Jason Butz committed Nov 1, 2012
Showing with 3 additions and 6 deletions.
  1. +3 −6 bootstrap-lightbox.js
View
@@ -321,15 +321,12 @@ $(function ()
e.preventDefault();
+ var originalContent = null;
if(img)
{
- var originalContent = $target.find('.lightbox-content').html();
+ originalContent = $target.find('.lightbox-content').html();
$target.find('.lightbox-content').empty().html('<img src="'+img+'" border="0" alt="" />');
}
- else
- {
- var originalContent = undefined;
- }
@@ -346,4 +343,4 @@ $(function ()
});
});
-}(window.jQuery);
+}(window.jQuery);

0 comments on commit 7855408

Please sign in to comment.