From 699e33d7edac42d61ab56d24650be8503697a0d8 Mon Sep 17 00:00:00 2001 From: Alib Date: Sun, 21 Mar 2010 13:37:01 +0100 Subject: corrected channame value to defined when generating thumb --- js/istreamdev.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'js') diff --git a/js/istreamdev.js b/js/istreamdev.js index 3b87b6b..eef6357 100644 --- a/js/istreamdev.js +++ b/js/istreamdev.js @@ -48,6 +48,7 @@ jQT = new $.jQTouch({ // [GENERIC STUFF] // Global variable +//window.applicationCache; dataString = "action=getGlobals"; $.getJSON("bin/backend.php", @@ -63,6 +64,7 @@ $.getJSON("bin/backend.php", //Goto home $('#home_but').tap(function(event) { event.preventDefault(); + $(this).parents('div').find('a').unbind("tap"); jQT.goTo('#home','flip'); }); @@ -90,6 +92,7 @@ function reinitDivs() { // Binds +//hide "toggle" elements to lighten animation $(document).ready(function(e){ $('div').bind('pageAnimationEnd', function(event, info){ if (info.direction == 'in') { @@ -103,7 +106,7 @@ $('div').bind('pageAnimationStart', function(event, info){ } }) }); - +//disable links of page while animation $('a[class="back"]').tap(function(event) { event.preventDefault(); $(this).parents('div').find('a').unbind("tap"); @@ -540,7 +543,6 @@ $('ul[rel="filelist"] li[class="arrow"] a').tap(function(event) { $('div[rel="browser"] a[class="back"]').tap(function(event) { event.preventDefault(); - $(this).parents('div[rel="browser"]').find('ul[rel="filelist"] li[class="arrow"] a').unbind("tap"); $(this).parents('div[rel="browser"]').remove(); }); -- cgit v1.2.3