ae singleclick
This commit is contained in:
parent
46e10fb81b
commit
05b4d0cf82
1 changed files with 2 additions and 1 deletions
|
@ -210,7 +210,8 @@ Ox.ArrayEditable = function(options, self) {
|
|||
|
||||
function singleclick(e) {
|
||||
var $target = $(e.target),
|
||||
$element = $target.parents('.OxEditableElement'),
|
||||
$element = $target.is('.OxEditableElement')
|
||||
? $target : $target.parents('.OxEditableElement'),
|
||||
position = $element.data('position');
|
||||
if (!$target.is('.OxInput')) {
|
||||
if ($element.length) {
|
||||
|
|
Loading…
Reference in a new issue