Browse Source

take out tab hidden check

causefx 8 years ago
parent
commit
b067c8ce58
1 changed files with 4 additions and 4 deletions
  1. 4 4
      js/functions.js

+ 4 - 4
js/functions.js

@@ -2407,7 +2407,7 @@ function buildMetadata(array, source){
 	return metadata;
 	return metadata;
 }
 }
 function homepageDownloader(type, timeout=30000){
 function homepageDownloader(type, timeout=30000){
-	if(isHidden()){ return; }
+	//if(isHidden()){ return; }
 	switch (type) {
 	switch (type) {
 		case 'sabnzbd':
 		case 'sabnzbd':
 			var action = 'getSabnzbd';
 			var action = 'getSabnzbd';
@@ -2439,7 +2439,7 @@ function homepageDownloader(type, timeout=30000){
 	}, timeout)
 	}, timeout)
 }
 }
 function homepageStream(type, timeout=30000){
 function homepageStream(type, timeout=30000){
-	if(isHidden()){ return; }
+	//if(isHidden()){ return; }
 	switch (type) {
 	switch (type) {
 		case 'plex':
 		case 'plex':
 			var action = 'getPlexStreams';
 			var action = 'getPlexStreams';
@@ -2464,7 +2464,7 @@ function homepageStream(type, timeout=30000){
 	}, timeout)
 	}, timeout)
 }
 }
 function homepageRecent(type, timeout=30000){
 function homepageRecent(type, timeout=30000){
-	if(isHidden()){ return; }
+	//if(isHidden()){ return; }
 	switch (type) {
 	switch (type) {
 		case 'plex':
 		case 'plex':
 			var action = 'getPlexRecent';
 			var action = 'getPlexRecent';
@@ -2489,7 +2489,7 @@ function homepageRecent(type, timeout=30000){
 	}, timeout)
 	}, timeout)
 }
 }
 function homepageCalendar(timeout=30000){
 function homepageCalendar(timeout=30000){
-	if(isHidden()){ return; }
+	//if(isHidden()){ return; }
 	ajaxloader(".content-wrap","in");
 	ajaxloader(".content-wrap","in");
 	organizrAPI('POST','api/?v1/homepage/connect',{action:'getCalendar'}).success(function(data) {
 	organizrAPI('POST','api/?v1/homepage/connect',{action:'getCalendar'}).success(function(data) {
 		var response = JSON.parse(data);
 		var response = JSON.parse(data);