File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 185185}
186186.loaded {
187187 opacity : 1 ;
188-
189188 overflow : visible ;
190189 visibility : visible ;
191190}
Original file line number Diff line number Diff line change @@ -312,6 +312,15 @@ <h4 class="portfolio-title">{{ article.portfolioTitle }}</h4>
312312 } ) ;
313313 }
314314</ script >
315+ < noscript >
316+ < style >
317+ # page-main_content {
318+ opacity : 1 !important ;
319+ overflow : visible !important ;
320+ visibility : visible !important ;
321+ }
322+ </ style >
323+ </ noscript >
315324< script src ="/js/modules/case-studies-page/infinite-scroll.js "> </ script >
316325
317326{% endblock main %}
Original file line number Diff line number Diff line change 4545 </ div >
4646 </ main >
4747 {% render fragments.footer() %}
48- < script type ="text/javascript "> </ script >
49-
50- < script >
48+ < script type ="text/javascript ">
5149 document . addEventListener ( 'DOMContentLoaded' , function ( ) {
52- const breadcrumbs = document . querySelector ( '.breadcrumb' ) ;
53- const container = document . querySelector ( '.sf-container' ) ;
54- if ( breadcrumbs ) {
55- breadcrumbs . classList . remove ( 'loading' ) ;
56- breadcrumbs . classList . add ( 'loaded' ) ;
57- breadcrumbs . setAttribute ( 'aria-busy' , 'false' ) ;
58- }
59- if ( container ) {
60- container . classList . remove ( 'loading' ) ;
61- container . classList . add ( 'loaded' ) ;
62- container . setAttribute ( 'aria-busy' , 'false' ) ;
63- }
50+ document
51+ . querySelectorAll ( '.breadcrumb.hidden, .sf-container.hidden' )
52+ . forEach ( function ( el ) {
53+ el . classList . remove ( 'hidden' ) ;
54+ el . classList . add ( 'visible' ) ;
55+ if ( el . hasAttribute ( 'aria-busy' ) ) {
56+ el . setAttribute ( 'aria-busy' , 'false' ) ;
57+ }
58+ } ) ;
6459 } ) ;
6560 </ script >
61+ < noscript >
62+ < style >
63+ .breadcrumb .hidden ,
64+ .sf-container .hidden {
65+ opacity : 1 !important ;
66+ overflow : visible !important ;
67+ visibility : visible !important ;
68+ }
69+ </ style >
70+ </ noscript >
6671 </ div >
6772 {# Close .bp-wrapper #} {% endblock %}
6873</ head >
You can’t perform that action at this time.
0 commit comments