From 787b5b657f6fa3251f8b0b4a770784f0ddaed407 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Sun, 1 Mar 2015 12:02:11 +0100 Subject: Chat-Panel --- assets/js/lustiges-script.js | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'assets/js') diff --git a/assets/js/lustiges-script.js b/assets/js/lustiges-script.js index ffd1e95..6d1d8c5 100644 --- a/assets/js/lustiges-script.js +++ b/assets/js/lustiges-script.js @@ -183,26 +183,6 @@ $(function() { $(window).on('hashchange', setTabToHash).trigger('hashchange'); }); - -// click-to-irc -$(function() { - $('.click-to-irc').on('click', function(e) { - if($(this).hasClass('activating')) - return; - - if($(e.target).hasClass('irclink')) - return; - - var - $irc = $(this).addClass('activating'), - $iframe = $(this).find('iframe'); - - $iframe.on('load', function() { - $irc.addClass('active'); - }).attr('src', $iframe.data('src')); - }); -}); - // programm-timeline $(function() { var -- cgit v1.2.3