Styling missing for "top left" layout

Created on 4 December 2024, about 1 month ago

Currently, if you use the "top left" layout, the related class "spb_top_left" is not added to the markup. This is because the value of the option is 0.
In simple_popup_blocks/js/simple_popup_blocks.js the case checking in line 158 is for '0' (with quotes) - which does not match the value = 0.
If I remove the quotes in that line, the classes are added correctly.
Old:
case '0':
New:
case 0:

🐛 Bug report
Status

Active

Version

3.4

Component

Code

Created by

🇩🇪Germany vistree

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024