Notice feature bug + potential fix

Home Forums Jevelin Theme Notice feature bug + potential fix

Home Forums Jevelin Theme Notice feature bug + potential fix

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • webbox
    Participant

    Have enabled Notice Box and Close button is set to “Enable (remember close action)”.

    Navigate to some subpage on site.

    Click close button “Got It!” in notice box.

    As expected it will disappear.

    Then navigate to parent page, notice box will be shown again which should not.

     

    After checking the code, cookies are set without path param, so cookie will be set for given page and subpages.

     

    Fix – set cookie to root path:

    js/scripts.js line 1218: $.cookie( ‘sh-notice’, ‘set’, { expires: 356, path: ‘/’ });

     

    Hi @webbox,

     

    I hope you are well today and thanks for helping out by notifying the issue.

     

    I could confirm the issue on my test site therefore notified the theme developer about this so that it will be fixed.

     

    The issue will be fixed ASAP.

     

    Your help here is really appreciated.

     

    Thanks,
    Shufflehound team

    The issue is resolved in the below latest version of theme so please update the theme as described here https://support.shufflehound.com/updating-theme/

     


    Please login to access this file

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