1
0
mirror of synced 2024-11-25 06:16:08 +03:00

remove evt

This commit is contained in:
Brankub 2015-03-24 15:14:32 +02:00
parent e10f3b7dae
commit 2b9c8b00a7

View File

@ -8,12 +8,12 @@ define([
decorated.call(this, container, $container);
container.on('close', function (evt) {
self._handleSelectOnClose(evt);
container.on('close', function () {
self._handleSelectOnClose();
});
};
SelectOnClose.prototype._handleSelectOnClose = function (evt) {
SelectOnClose.prototype._handleSelectOnClose = function () {
var self = this;
var $highlightedResults = this.getHighlightedResults();
@ -23,7 +23,6 @@ define([
}
self.trigger('select', {
originalEvent: evt,
data: $highlightedResults.data('data')
});
};