Browse Source

Pique: Removed code comment in navigation.js file.

Daniel W. Robert 7 years ago
parent
commit
005735925d
1 changed files with 3 additions and 5 deletions
  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 ) );
 
 } )( jQuery );