Skip to content
Browse files

Fixed issue with events created after pageSlide is created. See: http…

…://tr.im/qTH6

Signed-off-by: Derek Perez <derek@derekperez.com>
  • Loading branch information...
1 parent 334fcc2 commit d22a7db36ff71afa346f82ffbb867796becd0cbc @lardissone lardissone committed with perezd
Showing with 1 addition and 1 deletion.
  1. +1 −1 jquery.pageslide.js
View
2 jquery.pageslide.js
@@ -124,7 +124,7 @@
direction = ($("#pageslide-slide-wrap").css("left") != "0px") ? {left: "0"} : {right: "0"};
$("#pageslide-body-wrap").animate(direction, settings.duration);
$("#pageslide-slide-wrap").animate({width: "0"}, settings.duration, function() {
- $("#pageslide-content").empty();
+ $("#pageslide-content").css('width', '0%').empty();
// clear bug
$('#pageslide-body-wrap, #pageslide-slide-wrap').css('left','');
$('#pageslide-body-wrap, #pageslide-slide-wrap').css('right','');

0 comments on commit d22a7db

Please sign in to comment.
Something went wrong with that request. Please try again.