|
|
@@ -641,13 +641,12 @@
|
|
|
'</div>');
|
|
|
|
|
|
this.$toolbar.append(html.join(''));
|
|
|
- var timeOut = this.options.searchTimeOut;
|
|
|
$search = this.$toolbar.find('.search input');
|
|
|
$search.off('keyup').on('keyup', function (event) {
|
|
|
clearTimeout(timeoutId); // doesn't matter if it's 0
|
|
|
timeoutId = setTimeout(function () {
|
|
|
that.onSearch(event);
|
|
|
- }, timeOut);
|
|
|
+ }, that.options.searchTimeOut);
|
|
|
});
|
|
|
}
|
|
|
};
|