Skip to content
Snippets Groups Projects
Commit b028c626 authored by Brian Canini's avatar Brian Canini
Browse files

asc_bootstrap - people mobile view redirect

parent d15ce43c
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,6 @@ jQuery(document).ready(function(){
jQuery(".path-people .main-container aside").css({'height':(jQuery(".path-people .main-container section").height()+'px')});
}
//adds fontawesome arrow to menu
//check if is iPhone
......@@ -97,6 +96,13 @@ jQuery(document).ready(function(){
jQuery('section.col-sm-9').addClass('col-sm-pull-3');
}*/
//redirect if mobile for people directory main page
if(((window.location.pathname == '/people')||(window.location.pathname == '/directory')) && (jQuery(window).width() <= 740)) {
document.location = "people-mobile";
}
//sidebar arrows
if (jQuery(".sidebar-nav .active-trail").length) {
jQuery(".sidebar-nav .active-trail").find("i").removeClass('fa-angle-right').addClass( 'fa-angle-down' );
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment