diff --git a/wp-content/themes/twentythirteen/js/functions.js b/wp-content/themes/twentythirteen/js/functions.js
index 78c8c84..147f5c2 100644
--- a/wp-content/themes/twentythirteen/js/functions.js
+++ b/wp-content/themes/twentythirteen/js/functions.js
@@ -49,6 +49,19 @@
 		button.on( 'click.twentythirteen', function() {
 			nav.toggleClass( 'toggled-on' );
 		} );
+		
+		// Fix sub-menus for touch devices.
+		if ( 'ontouchstart' in window ) {
+			menu.find( '.menu-item-has-children > a' ).on( 'touchstart.twentythirteen', function( e ) {
+				var el = $( this ).parent( 'li' );
+		
+				if ( ! el.hasClass( 'focus' ) ) {
+					e.preventDefault();
+					el.toggleClass( 'focus' );
+					el.siblings( '.focus' ).removeClass( 'focus' );
+				}
+			} );
+		}
 
 		// Better focus for hidden submenu items for accessibility.
 		menu.find( 'a' ).on( 'focus.twentythirteen blur.twentythirteen', function() {
