PHRAS-863 - fix push modal events, fix jquery.selection to allow child events

This commit is contained in:
Florian BLOUET
2015-12-17 12:22:58 +01:00
parent 4f15f1e640
commit 3e02804c51
2 changed files with 15 additions and 22 deletions

View File

@@ -37,6 +37,7 @@
this.$container.addClass('selectionnable');
this.$container
.on('click', this.options.selector, function(event) {
event.preventDefault();
if (typeof $this.options.selectStart === 'function') {
$this.options.selectStart(jQuery.extend(jQuery.Event('selectStart'), event), $this);
}
@@ -118,8 +119,6 @@
$this.options.selectStop(jQuery.extend(jQuery.Event('selectStop'), event), $this);
}
return false;
});
return;