summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-03-21 13:37:01 +0100
committerAlib <aliboba@free.fr>2010-03-21 13:37:01 +0100
commit699e33d7edac42d61ab56d24650be8503697a0d8 (patch)
treeb94cf68ed3295035ab87bf1fcc293534690795c6 /js
parent580682c2f6b6a4e0d8185fdf54248573178507f6 (diff)
downloadistreamdev-699e33d7edac42d61ab56d24650be8503697a0d8.tar.gz
istreamdev-699e33d7edac42d61ab56d24650be8503697a0d8.tar.bz2
corrected channame value to defined when generating thumb
Diffstat (limited to 'js')
-rw-r--r--js/istreamdev.js6
1 files changed, 4 insertions, 2 deletions
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();
});