diff --git a/modules/site/parent_templates/site/common/js/application.js b/modules/site/parent_templates/site/common/js/application.js index a54e62e673..8624bf239f 100644 --- a/modules/site/parent_templates/site/common/js/application.js +++ b/modules/site/parent_templates/site/common/js/application.js @@ -301,7 +301,7 @@ function parseContent(pageIndex){ } if (this.nodeName == 'pdf'){ - section.append(''); + section.append(''); } if (this.nodeName == 'navigator'){ @@ -446,7 +446,7 @@ function makeNav(node,section,type, sectionIndex, itemIndex){ } if (this.nodeName == 'pdf'){ - tab.append(''); + tab.append(''); } }); @@ -524,6 +524,10 @@ function makeAccordion(node,section, sectionIndex, itemIndex){ inner.append( '

' + $(this).attr('name') + '

' ); } + + if (this.nodeName == 'pdf'){ + inner.append(''); + } }); outer.append(inner); @@ -604,6 +608,10 @@ function makeCarousel(node, section, sectionIndex, itemIndex){ } + if (this.nodeName == 'pdf'){ + pane.append(''); + } + }); items.append(pane);