added zoff image to embed thingy

This commit is contained in:
Kasper Rynning-Tønnesen
2016-01-26 17:21:36 +01:00
parent 0907ac9a38
commit cab2ea0a8e
5 changed files with 22 additions and 4 deletions

View File

@@ -47,6 +47,10 @@ $(document).ready(function(){
Playercontrols.initSlider();
});
$(document).on( "click", "#zoffbutton", function(e){
window.open("https://zoff.no/" + chan.toLowerCase() + "/", '_blank');
});
$(document).on( "click", ".vote-container", function(e){
var id = $(this).attr("data-video-id");
List.vote(id, "pos");