Explorar o código

Pique: Removed code comment in navigation.js file.

Daniel W. Robert %!s(int64=7) %!d(string=hai) anos
pai
achega
005735925d
Modificáronse 1 ficheiros con 3 adicións e 5 borrados
  1. 3 5
      pique/assets/js/navigation.js

+ 3 - 5
pique/assets/js/navigation.js

@@ -58,11 +58,9 @@
 			}
 			}
 		};
 		};
 
 
-		// if ( window.matchMedia( "( max-width: 767px )" ).matches ) {
-			for ( i = 0; i < parentLink.length; ++i ) {
-				parentLink[i].addEventListener( ( 'ontouchstart' in window ? 'touchstart' : 'click' ), toggleNav, false );
-			}
-		// }
+		for ( i = 0; i < parentLink.length; ++i ) {
+			parentLink[i].addEventListener( ( 'ontouchstart' in window ? 'touchstart' : 'click' ), toggleNav, false );
+		}
 	}( container ) );
 	}( container ) );
 
 
 } )( jQuery );
 } )( jQuery );