From 86920affb6622371a555cc3de4d88908e7782a1b Mon Sep 17 00:00:00 2001 From: Yang-Hsing Lin Date: Thu, 15 Aug 2013 16:21:22 +0800 Subject: [PATCH] resume html overflow to 'visible' instead of 'auto' when a popup with option 'scrollBar' set to false being closed, resume html overflow to 'visible' instead of 'auto'. --- jquery.bpopup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery.bpopup.js b/jquery.bpopup.js index 38fd689..e1b09f5 100644 --- a/jquery.bpopup.js +++ b/jquery.bpopup.js @@ -208,7 +208,7 @@ } function unbindEvents() { if (!o.scrollBar) { - $('html').css('overflow', 'auto'); + $('html').css('overflow', 'visible'); } $('.b-modal.'+id).unbind('click'); d.unbind('keydown.'+id);