Popup is not being displayed even when cookie is disabled

Created on 16 March 2023, almost 2 years ago

Problem/Motivation

Popup is not displayed after we disable the cookie check.

Steps to reproduce

1. Setup popup message
2. Keep cookie enabled
3. Access the site
4. See the popup
5. Update the popup message and disable the cookie check
6. Access the site

Result: Popup is not displayed

Proposed resolution

Change check_cookie to use == instead of ===
if (!popup_message_cookie || check_cookie == 0) {

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇧🇷Brazil carolpettirossi Campinas - SP

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024