* zin: fix cannot scroll page after close modal.
This commit is contained in:
+5
-1
@@ -382,7 +382,11 @@
|
||||
renderPartial(item, options);
|
||||
if(item.name === 'html' || item.name === 'body') hasUpdatePage = true;
|
||||
});
|
||||
if(hasUpdatePage) updatePageLayout();
|
||||
if(hasUpdatePage)
|
||||
{
|
||||
updatePageLayout();
|
||||
$('html').enableScroll();
|
||||
}
|
||||
if(!options.partial)
|
||||
{
|
||||
const newState = $.apps.updateApp(currentCode, currentAppUrl, document.title);
|
||||
|
||||
Reference in New Issue
Block a user