Small fix for WPB when there is no menu item
This commit is contained in:
parent
f9297c103e
commit
254d40bca0
@ -107,6 +107,10 @@
|
||||
}
|
||||
|
||||
window.setTimeout(function() {
|
||||
if (document.getElementById('menu-profiler') == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
var menuItems = document.getElementById('menu-profiler').getElementsByTagName('LI'),
|
||||
elem, value, child, displayState = Sfjs.getPreference('menu/displayState');
|
||||
|
||||
|
Reference in New Issue
Block a user