diff --git a/templates/lecture.html b/templates/lecture.html index b364956070a35cdb3e849e014b9fcf9a770eabc5..ec88c3e83802a71e5c4bad721cd09380ce7e2590 100644 --- a/templates/lecture.html +++ b/templates/lecture.html @@ -131,8 +131,7 @@ $(function() { }) }); -$(document).ready(function() { - $("a.reloadonclose").click(function () { +$(document).on("click","a.reloadonclose",function () { var popup = window.open(this.href, this.target); if (!popup) return true; @@ -143,7 +142,9 @@ $(document).ready(function() { }; }, 500); return false; - }); +}); + +$(document).ready(function() { $("a.chapterlink").click(function () { videojs('videoplayer').currentTime($(this).data("seek-time")); return false;