Skip to content
Snippets Groups Projects
Unverified Commit cd0f165b authored by weaver299's avatar weaver299 Committed by GitHub
Browse files

Merge pull request #103 from ASCWebServices/canini

asc_bootstrap - people mobile view redirect
parents d15ce43c b028c626
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