Skip to content

Commit 4c1cd6c

Browse files
authored
Merge pull request BrisJS#18 from AshKyd/feature/talks
blow away video content to fix BrisJS#17
2 parents b17208d + d6dd4e4 commit 4c1cd6c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app.js

+2
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,11 @@ function hashChange(options){
4242
links[0].className = links[0].className.replace(/active/, '');
4343
links[1] && (links[1].className = links[1].className.replace(/active/, ''));
4444
}
45+
document.querySelector('[data-page=talk-single]').innerHTML = '';
4546
} catch(e){}
4647
if(options.jump !== false) document.body.scrollTop = 0;
4748
document.body.className = hash;
49+
4850
});
4951
const talkId = hash.match(/^talk-(\d+)$/);
5052
if(talkId && talkId[1] && talks){

0 commit comments

Comments
 (0)