From: Anthony Talarico Date: Thu, 28 Jan 2016 17:22:05 +0000 (-0500) Subject: removed ul from off canvas menu X-Git-Tag: v1.0.0^2~31 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=18c2ea982e04e0741c9f7703c890c73db8c89e9e;p=WP-Themes%2Fsaultstemarie.git removed ul from off canvas menu --- diff --git a/js/app.js b/js/app.js index 0be6ec2..586b673 100644 --- a/js/app.js +++ b/js/app.js @@ -201,4 +201,5 @@ $(document).ready(function () { $(this).removeClass("active") ; }); $("#menu-top-menu-1").children("li:nth-child(2)").children("a:nth-child(1)").addClass("offCanvasLinks"); + }); diff --git a/lib/navigation.php b/lib/navigation.php index 2308037..75095b5 100644 --- a/lib/navigation.php +++ b/lib/navigation.php @@ -32,9 +32,8 @@ if ( ! function_exists( 'glm_theme_top_bar' ) ) { */ if ( ! function_exists( 'glm_theme_mobile_off_canvas' ) ) { function glm_theme_mobile_off_canvas() { - echo '
'; - echo '
'; + return preg_replace( array( '%^]*>%', '%$%' ), '', $menu ); } } if ( ! function_exists( 'glm_topLinks_mobile_off_canvas' ) ) {