Undefined Property hamburgerIconAnimation
Permalink Browser Info Environment
I've turned on Enable hamburger support and selected modern style and when viewing the site on a mobile device I get the exception,
Undefined property: Concrete\Core\Block\View\BlockView::$hamburgerIconAnimation
Whoops\Exception\ErrorException
/home/darleyda/public_html/packages/jb_megamenu/blocks/jb_megamenu/view.php452
In fact I get this on desktop also in Chrome when not in edit mode.
The code being shown is...
If I change modern style to classic then all is OK again.
Undefined property: Concrete\Core\Block\View\BlockView::$hamburgerIconAnimation
Whoops\Exception\ErrorException
/home/darleyda/public_html/packages/jb_megamenu/blocks/jb_megamenu/view.php452
In fact I get this on desktop also in Chrome when not in edit mode.
The code being shown is...
elseif($enableHamburgerSupport && $hamburgerStyle=="modern" && !$p->canWrite()){ $iconHtml = null; if ( $this->hamburgerIconAnimation=='collapse') { $hamanimation = "collapse"; }elseif ( $this->hamburgerIconAnimation=='spin') {
If I change modern style to classic then all is OK again.
Type: | Pre-Sale |
---|---|
Status: | Resolved |