Fix MenuSimple component (open view mode)

This commit is contained in:
Julia Radzhabova 2019-08-22 17:55:41 +03:00
parent c19c9ba7b0
commit 1ad49db48c

View file

@ -1024,7 +1024,7 @@ define([
},
clearAll: function() {
this.cmpEl.find('li > a.checked').removeClass('checked');
this.cmpEl && this.cmpEl.find('li > a.checked').removeClass('checked');
_.each(this.items, function(item){
item.checked = false;
});