[DE] Fix review=false mode

This commit is contained in:
Julia Radzhabova 2019-03-06 10:33:38 +03:00
parent 32942c847f
commit 3350f387e0

View file

@ -604,7 +604,7 @@ define([
this.view.btnsDocLang && this.view.btnsDocLang.forEach(function(button) {
if ( button ) {
button.setDisabled(disable || this.langs.length<1);
button.setDisabled(disable || !this.langs || this.langs.length<1);
}
}, this);
}