mirror of
https://github.com/KevinMidboe/zoff.git
synced 2026-09-25 01:09:05 +00:00
Fixed error in send_play function
This commit is contained in:
Regular → Executable
Regular → Executable
-1
@@ -8,7 +8,6 @@ socket.on("id", function(id)
|
||||
$("#code-text").text(id.toUpperCase())
|
||||
$("#code-qr").attr("src", "https://chart.googleapis.com/chart?chs=221x221&cht=qr&choe=UTF-8&chld=L|1&chl="+codeURL);
|
||||
$("#code-link").attr("href", codeURL);
|
||||
|
||||
if(!began)
|
||||
{
|
||||
socket.on(id, function(arr)
|
||||
|
||||
Regular → Executable
@@ -77,6 +77,15 @@ function setup_youtube_listener(channel)
|
||||
|
||||
$(document).ready(function()
|
||||
{
|
||||
|
||||
var img = new Image();
|
||||
img.onload = function () {
|
||||
var colorThief = new ColorThief();
|
||||
colorThief.getColor(img);
|
||||
};
|
||||
img.crossOrigin = 'Anonymous';
|
||||
img.src = 'http://img.youtube.com/vi/NuEfvIca0XU/mqdefault.jpg';
|
||||
|
||||
setup_youtube_listener(chan);
|
||||
//Materialize.toast("Passwords have been reset. If anything is not right, please send us a mail @ contact@zoff.no", 10000);
|
||||
$("#settings").sideNav({
|
||||
|
||||
Reference in New Issue
Block a user