mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-11 20:13:28 +00:00
update jquery attr into prop method for checked and disabled properties
This commit is contained in:
@@ -35,10 +35,8 @@
|
||||
|
||||
this.$container.data('selectionnable', this);
|
||||
this.$container.addClass('selectionnable');
|
||||
|
||||
jQuery(this.options.selector, this.$container)
|
||||
.on('click', function (event) {
|
||||
|
||||
this.$container
|
||||
.on('click', this.options.selector, function(event) {
|
||||
if (typeof $this.options.selectStart === 'function') {
|
||||
$this.options.selectStart(jQuery.extend(jQuery.Event('selectStart'), event), $this);
|
||||
}
|
||||
|
Reference in New Issue
Block a user