Bug in 2.4.1

  • pascal@round-planet.com

    #49439

    One of my page (a page fullsize witghout menu), the 2.4.1 version broke it; using debug in Chrome I could drace the wrong line

    In themes/graphene/js/graphene.js

    The following function calls for the position() function on a element that does not exist:

    		/* Position the carousel caption when using full-width-boxed layout */
    		function graphenePositionCarouselCaption(){
    			if ( $(window).width()<= 991  ) return;
    			$('.layout-full-width-boxed .carousel-caption-content').css('left', $('#header-menu-wrap').position().left + 15 + 'px' );
    		}
    

    I change it to this and it fixed my issue:

    		
    /* Position the carousel caption when using full-width-boxed layout */
    		function graphenePositionCarouselCaption(){
    			if ( $(window).width()<= 991
    || $('#header-menu-wrap').length==0
    
     ) return;
    			$('.layout-full-width-boxed .carousel-caption-content').css('left', $('#header-menu-wrap').position().left + 15 + 'px' );
    		}
    
    Admin

    Syahir Hakim

    #49443

    Thanks for the report. It is quite an edge case for the front page to have no primary menu. We’ll include this fix in the next update.

Viewing 2 posts - 1 through 2 (of 2 total)

  • You must be logged in to reply to this topic.