• Resolved ukeboyska

    (@ukeboyska)


    looks like something is causing the breakpoints script tag to have P tags all over it:

    <p><script class="tribe-events-breakpoints">
    	( function () {
    		var completed = false;</p>
    <p>		function initBreakpoints() {
    			if ( completed ) {
    				// This was fired already and completed no need to attach to the event listener.
    				document.removeEventListener( 'DOMContentLoaded', initBreakpoints );
    				return;
    			}</p>
    <p>			if ( 'undefined' === typeof window.tribe ) {
    				return;
    			}</p>
    <p>			if ( 'undefined' === typeof window.tribe.events ) {
    				return;
    			}</p>
    <p>			if ( 'undefined' === typeof window.tribe.events.views ) {
    				return;
    			}</p>
    <p>			if ( 'undefined' === typeof window.tribe.events.views.breakpoints ) {
    				return;
    			}</p>
    <p>			if ( 'function' !== typeof (window.tribe.events.views.breakpoints.setup) ) {
    				return;
    			}</p>
    <p>			var container = document.querySelectorAll( '[data-view-breakpoint-pointer="9f07ed76-9e09-4821-a7b8-cfcbe7c96662"]' );
    			if ( ! container ) {
    				return;
    			}</p>
    <p>			window.tribe.events.views.breakpoints.setup( container );
    			completed = true;
    			// This was fired already and completed no need to attach to the event listener.
    			document.removeEventListener( 'DOMContentLoaded', initBreakpoints );
    		}</p>
    <p>		// Try to init the breakpoints right away.
    		initBreakpoints();
    		document.addEventListener( 'DOMContentLoaded', initBreakpoints );
    	})();
    </script></p>

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Darian

    (@d0153)

    Hi @ukeboyska

    Thanks for reaching out. Unfortunately, we cannot provide support in this forum for premium users.

    For us to help you better, please open a Support Ticket on our Help Desk.

    You’ll hear from one of my colleagues soon!

    Plugin Support Darian

    (@d0153)

    Hi @ukeboyska

    This thread has been inactive for a while, so we’ll go ahead and mark it Resolved. Please open a new thread if any other questions arise, and we’d be happy to help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘P tags within breakpoints script’ is closed to new replies.