Add "reset" link in HTML

This commit is contained in:
Vladimir Panteleev 2019-07-29 02:00:18 +00:00
parent 8693936308
commit 88c7b5dced
2 changed files with 15 additions and 0 deletions

View file

@ -573,6 +573,12 @@ function playSegment(segmentId, noSeek) {
return false;
}
function reset() {
ls.clear();
location.hash = '';
location.reload();
}
var lastHash = '';
function playHash(hash) {
// console.log('playHash', lastHash, '->', hash);