Merge pull request #15442 from edx/ibrahimahmed443/WL-1087-video-issue
fix issue where video modal is not closed by clicking outside the video
This commit is contained in:
@@ -18,6 +18,10 @@
|
||||
closeButton: null,
|
||||
position: 'fixed'
|
||||
};
|
||||
var overlay = '<div id="lean_overlay"></div>';
|
||||
if ($('#lean_overlay').length === 0) {
|
||||
$('body').append($(overlay));
|
||||
}
|
||||
|
||||
options = $.extend(defaults, options); // eslint-disable-line no-param-reassign
|
||||
|
||||
|
||||
Reference in New Issue
Block a user