Fix Bug 33945

This commit is contained in:
Alexander Yuzhin 2017-02-06 18:23:16 +03:00
parent 3f42ce4602
commit 00ff0ec689
2 changed files with 3 additions and 3 deletions

View file

@ -211,7 +211,7 @@ define([
initEvents: function () { initEvents: function () {
var me = this; var me = this;
$('#add-shape li').single('click', _.buffered(me.onShapeClick, 100, me)); $('#add-shape li').single('click', _.buffered(me.onShapeClick, 300, me));
}, },
onShapeClick: function (e) { onShapeClick: function (e) {

View file

@ -92,11 +92,11 @@ define([
me.api.asc_GetDefaultTableStyles(); me.api.asc_GetDefaultTableStyles();
} }
$('#add-table li').single('click', _.buffered(this.onStyleClick, 100, this)); $('#add-table li').single('click', _.buffered(this.onStyleClick, 300, this));
}, },
onViewRender: function () { onViewRender: function () {
$('#add-table li').single('click', _.buffered(this.onStyleClick, 100, this)); $('#add-table li').single('click', _.buffered(this.onStyleClick, 300, this));
}, },
onStyleClick: function (e) { onStyleClick: function (e) {