Skip to content
Snippets Groups Projects
Commit 2bb7a9fd authored by Ibrahim Ahmed's avatar Ibrahim Ahmed Committed by GitHub
Browse files

Merge pull request #15442 from edx/ibrahimahmed443/WL-1087-video-issue

fix issue where video modal is not closed by clicking outside the video
parents a864b450 33f9c46e
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment