fix #137
This commit is contained in:
parent
e2ae81b687
commit
b620b10f12
@ -115,6 +115,9 @@ Makes editable any HTML element on the page. Applied as jQuery method.
|
||||
this.$element.on(this.options.toggle + '.editable', selector, $.proxy(function(e){
|
||||
var $target = $(e.target);
|
||||
if(!$target.data('editable')) {
|
||||
if($target.hasClass(this.options.emptyclass)) {
|
||||
$target.empty();
|
||||
}
|
||||
$target.editable(this.options).trigger(e);
|
||||
}
|
||||
}, this));
|
||||
|
Loading…
x
Reference in New Issue
Block a user