[SSE] Fix bug with math info (small browser width)

This commit is contained in:
Julia Radzhabova 2020-08-12 18:22:14 +03:00
parent 3a26b4f00c
commit 7de2760b5d

View file

@ -742,7 +742,9 @@ define([
this.$el.find('.over-box').removeClass('over-box');
while (width + parseInt(this.boxMath.css('width')) + 100 > widthStatusbar) {
var items = this.boxMath.find('label:not(.hide, .over-box)');
$(items[items.length - 1]).addClass('over-box');
(items.length>0) && $(items[items.length - 1]).addClass('over-box');
if (items.length<=1)
break;
}
},