Ticket #48562: 48562.3.diff
File 48562.3.diff, 469 bytes (added by , 4 years ago) |
---|
-
src/js/media/views/modal.js
diff --git a/src/js/media/views/modal.js b/src/js/media/views/modal.js index f7afb014b9..3804b18feb 100644
a b Modal = wp.media.View.extend(/** @lends wp.media.view.Modal.prototype */{ 132 132 return this; 133 133 } 134 134 135 // Pause current audio/video even after closing the modal 136 $( '.mejs-pause button' ).click(); 137 135 138 // Enable page scrolling. 136 139 $( 'body' ).removeClass( 'modal-open' ); 137 140