Explorar el Código

remove useless test

Gildas hace 2 años
padre
commit
a3ca1ce4ad
Se han modificado 1 ficheros con 1 adiciones y 3 borrados
  1. 1 3
      src/ui/bg/index.js

+ 1 - 3
src/ui/bg/index.js

@@ -101,9 +101,7 @@ function onTabCreated(tab) {
 }
 
 function onTabActivated(tab) {
-	if (tab) {
-		menus.onTabActivated(tab);
-	}
+	menus.onTabActivated(tab);
 }
 
 function onInit(tab) {