Skip to content
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.

Commit

Permalink
Fix slideshow
Browse files Browse the repository at this point in the history
  • Loading branch information
fancyapps committed Jan 17, 2013
1 parent 9b08918 commit 6208e12
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/jquery.fancybox.js
Expand Up @@ -438,7 +438,7 @@
stop = function () {
clear();

$('body').unbind('.player');
D.unbind('.player');

F.player.isActive = false;

Expand All @@ -448,9 +448,9 @@
if (F.current && (F.current.loop || F.current.index < F.group.length - 1)) {
F.player.isActive = true;

$('body').bind({
'afterShow.player onUpdate.player' : set,
D.bind({
'onCancel.player beforeClose.player' : stop,
'onUpdate.player' : set,
'beforeLoad.player' : clear
});

Expand Down Expand Up @@ -761,7 +761,7 @@
});
}

$.event.trigger(event + '.fb');
D.trigger(event);
},

isImage: function (str) {
Expand Down

0 comments on commit 6208e12

Please sign in to comment.