Permalink
Browse files

Fix #199

  • Loading branch information...
bltavares committed Nov 24, 2011
1 parent 0e891dd commit e43b2973d874184b6eeb54ae35c79c01229d099e
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/photoswipe.class.js
View
@@ -547,6 +547,7 @@
this.carousel = null;
Util.DOM.removeClass(window.document.body, PhotoSwipe.CssClasses.activeBody);
+ Util.DOM.removeClass(window.document.getElementsByTagName("html")[0], PhotoSwipe.CssClasses.activeBody);
this.documentOverlay.dispose();
this.documentOverlay = null;
@@ -818,6 +819,7 @@
var el = (this.settings.target === window) ? window.document.body : this.settings.target;
Util.DOM.removeClass(el, PhotoSwipe.CssClasses.buildingBody);
+ Util.DOM.addClass(window.document.getElementsByTagName("html")[0], PhotoSwipe.CssClasses.activeBody);
Util.DOM.addClass(el, PhotoSwipe.CssClasses.activeBody);
this.addEventHandlers();

0 comments on commit e43b297

Please sign in to comment.