~hristoast/hristoast

ca9c54557fcda955f819d8874e9d26f080f826d7 — Hristos N. Triantafillou 1 year, 11 months ago 253477a
Don't try to do stuff when it isn't needed
1 files changed, 4 insertions(+), 2 deletions(-)

M site/js/vidpos.js
M site/js/vidpos.js => site/js/vidpos.js +4 -2
@@ 58,8 58,10 @@ function seekVideo() {
}

function init() {
    videoLinkButton.addEventListener("click", giveLink);
    seekVideo();
    if (videoLinkButton) {
        videoLinkButton.addEventListener("click", giveLink);
        seekVideo();
    }
}

window.onload = init();