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

discover your path update

- adding jquery to open interest list on initial page load
parent 29582a2f
No related branches found
No related tags found
No related merge requests found
...@@ -6,6 +6,14 @@ jQuery(window).bind("pageshow", function(event) { ...@@ -6,6 +6,14 @@ jQuery(window).bind("pageshow", function(event) {
jQuery(document).ready(function(){ jQuery(document).ready(function(){
//opens Discover Your Path interest list on initial page load
if (jQuery("#views-exposed-form-discover-your-path-page-1 .panel-heading")) {
jQuery("#views-exposed-form-discover-your-path-page-1 .panel-heading a").removeClass("collapsed");
jQuery("#views-exposed-form-discover-your-path-page-1 #edit-field-ap-interest-target-id-collapsible--content").addClass("in");
jQuery("#views-exposed-form-discover-your-path-page-1 .panel-heading a").attr("aria-expanded","true");
jQuery("#views-exposed-form-discover-your-path-page-1 #edit-field-ap-interest-target-id-collapsible--content").attr("aria-expanded","true");
}
//activates lightbox effect on gallery content type //activates lightbox effect on gallery content type
jQuery(document).on('click', '[data-toggle="lightbox"]', function(event) { jQuery(document).on('click', '[data-toggle="lightbox"]', function(event) {
event.preventDefault(); event.preventDefault();
......
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