Skip to content
Snippets Groups Projects
Commit 76713ff1 authored by Roman Karwacik's avatar Roman Karwacik
Browse files

Merge branch 'fix-autoreload' into 'master'

Fix autoreload

See merge request !31
parents 1ce941e8 190e2bc2
No related branches found
No related tags found
1 merge request!31Fix autoreload
...@@ -131,8 +131,7 @@ $(function() { ...@@ -131,8 +131,7 @@ $(function() {
}) })
}); });
$(document).ready(function() { $(document).on("click","a.reloadonclose",function () {
$("a.reloadonclose").click(function () {
var popup = window.open(this.href, this.target); var popup = window.open(this.href, this.target);
if (!popup) if (!popup)
return true; return true;
...@@ -144,6 +143,8 @@ $(document).ready(function() { ...@@ -144,6 +143,8 @@ $(document).ready(function() {
}, 500); }, 500);
return false; return false;
}); });
$(document).ready(function() {
$("a.chapterlink").click(function () { $("a.chapterlink").click(function () {
videojs('videoplayer').currentTime($(this).data("seek-time")); videojs('videoplayer').currentTime($(this).data("seek-time"));
return false; return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment