You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of Version 0.5.7, ocs-sidebar-active- + sidebar_id and ocs-sidebar-location- + sidebar.side are concatenated without a separating space, breaking both class names.
Steps to reproduce the behavior:
Create new sidebar with Location set to Right on OCS v0.5.7.
Assign a widget to sidebar area.
Action sidebar.
See concatenation issue: in my case ocs-sidebar-active-ocs-mobile-navocs-sidebar-location-right.
Expected behavior
Class names concatenated with a space separating: ocs-sidebar-active-ocs-mobile-nav ocs-sidebar-location-right.
Screenshots
Specifications
Plugin Version: 0.5.7
WordPress Version: 5.7.1
Other plugins installed: ACF Pro, Debug Bar, Gravity Forms, Regenerate Thumbnails, Simple Custom Post Order, WPFront Scroll Top
Theme: Custom, _'s base
Browser: Firefox 88.0
URL of where the bug occurs: local install only
Location of hook placement (header.php and footer.php): immediately after <body> opens and immediately before wp_footer().
Additional context
Issue looks to me to appear at line 472 of off-canvas-sidebars.js: $html.addClass( 'ocs-sidebar-active ocs-sidebar-active-' + sidebar_id + 'ocs-sidebar-location-' + sidebar.side );
Many thanks for a fantastic plugin, and apologies if this has already been reported. I looked but didn't see any similar issues.
Kind regards,
Tom
The text was updated successfully, but these errors were encountered:
Describe the bug
As of Version 0.5.7,
ocs-sidebar-active- + sidebar_idandocs-sidebar-location- + sidebar.sideare concatenated without a separating space, breaking both class names.Steps to reproduce the behavior:
ocs-sidebar-active-ocs-mobile-navocs-sidebar-location-right.Expected behavior
Class names concatenated with a space separating:
ocs-sidebar-active-ocs-mobile-nav ocs-sidebar-location-right.Screenshots
Specifications
<body>opens and immediately beforewp_footer().Additional context
off-canvas-sidebars.js:$html.addClass( 'ocs-sidebar-active ocs-sidebar-active-' + sidebar_id + 'ocs-sidebar-location-' + sidebar.side );Many thanks for a fantastic plugin, and apologies if this has already been reported. I looked but didn't see any similar issues.
Kind regards,
Tom
The text was updated successfully, but these errors were encountered: