caipin 5 vuotta sitten
vanhempi
commit
850ab67b94
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      global/js/columnShow/columnShow.js

+ 2 - 2
global/js/columnShow/columnShow.js

@@ -22,13 +22,13 @@ $(function() {
 function refreshColumn(columnLength){
 	for(var i=1;i<=columnLength;i++){
 		var isAccept=localStorage.getItem("curingColumn_"+i);
-		console.log(isAccept==null);
+		
 		isColumnShow(isAccept,i);
 	}
 }
 
 function isColumnShow(isAccept,column){
-	if (typeof(isAccept)==null||isAccept) {
+	if (isAccept==null||isAccept) {
 		
 		$('table[columnShow] tr').find('th:eq('+column+')').show();
 		$('table[columnShow] tr').find('td:eq('+column+')').show();