Selaa lähdekoodia

fix splashpage closing on new window

CauseFX 4 vuotta sitten
vanhempi
commit
fec26b8f94
1 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  1. 3 1
      js/functions.js

+ 3 - 1
js/functions.js

@@ -970,7 +970,9 @@ function tabActions(event,name, type){
 		organizrConsole('Tab Function','Action not defined yet', 'info');
 	}else{
 		switchTab(cleanClass(name), type);
-        $('.splash-screen').removeClass('in').addClass('hidden');
+		if(type !== 2){
+			$('.splash-screen').removeClass('in').addClass('hidden');
+		}
 	}
 }
 function reverseObject(object) {