Skip to content

Commit

Permalink
handle empty layer in swipe
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhellsing committed May 22, 2013
1 parent d289fb1 commit 088ae80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/galleria.js
Original file line number Diff line number Diff line change
Expand Up @@ -4482,7 +4482,7 @@ this.prependChild( 'info', 'myElement' );

var complete = function(image) {

self._layers[index].innerHTML = self.getData().layer;
self._layers[index].innerHTML = self.getData().layer || '';

self.trigger($.extend(evObj, {
type: Galleria.LOADFINISH
Expand Down

0 comments on commit 088ae80

Please sign in to comment.