fix: undefined usage in _hideWizard
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com> Change-Id: I085c5e4882a25a56b11346276e61aa5196caf4f7
This commit is contained in:
parent
ee609ff4b1
commit
4764937ad4
1 changed files with 4 additions and 2 deletions
|
@ -52,8 +52,10 @@ L.Control.MobileWizardPopup = L.Control.extend({
|
|||
_hideWizard: function () {
|
||||
this.removeContainer();
|
||||
|
||||
app.sectionContainer.getSectionWithName(L.CSections.CommentList.name).removeHighlighters();
|
||||
app.sectionContainer.getSectionWithName(L.CSections.CommentList.name).layout();
|
||||
if (app.sectionContainer) {
|
||||
app.sectionContainer.getSectionWithName(L.CSections.CommentList.name).removeHighlighters();
|
||||
app.sectionContainer.getSectionWithName(L.CSections.CommentList.name).layout();
|
||||
}
|
||||
},
|
||||
|
||||
_setTitle: function(title) {
|
||||
|
|
Loading…
Reference in a new issue