Commit 2bb7a9fd by Ibrahim Ahmed Committed by GitHub

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
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment