doAction( "disabled_scrolling" )

doAction( "disabled_scrolling" );

Scrolling of the document was disabled. This action is called at the end of DiviArea.Core.disableBodyScroll().

Examples

// Enable page scrolling instantly (i.e., scrolling will never be disabled)
DiviArea.addAction( 'disabled_scrolling', function() {
    DiviArea.Core.enableBodyScroll();
});

Notes

This action is usually called, right after the overlay modal was displayed via DiviArea.showOverlay().

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.