Commit 33f9c46e by Ibrahim

fix issue where video modal is not closed by clicking outside the video

parent a45ac2f4
......@@ -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