Merge pull request #432 from ONLYOFFICE/fix/bugfix

Fix/bugfix
This commit is contained in:
Julia Radzhabova 2020-07-22 16:18:44 +03:00 committed by GitHub
commit bda352f4bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View file

@ -106,7 +106,7 @@ define([
// special
this.mathList = new Common.UI.ListView({
el: $window.find('#auto-correct-math-list'),
store: new Common.UI.DataViewStore(this.props),
store: new Common.UI.DataViewStore(this.props.slice(0, 11)),
simpleAddMode: true,
template: _.template(['<div class="listview inner" style=""></div>'].join('')),
itemTemplate: _.template([
@ -180,6 +180,10 @@ define([
_.delay(function(){
$('input', me.inputReplace.cmpEl).select().focus();
},100);
_.delay(function(){
me.mathList.store.reset(me.props);
},100);
},
onBtnClick: function(event) {

View file

@ -309,7 +309,7 @@
&:not(.icon-top)
.caption:not(:empty) {
padding: 0 5px;
padding: 0 4px;
}
.icon {