..clone -> .clone

This commit is contained in:
rlx 2014-09-24 20:14:57 +02:00
parent 7dc53b7252
commit 763f256e12

View file

@ -159,8 +159,7 @@ Ox.Editable = function(options, self) {
}) })
.appendTo(that); .appendTo(that);
self.$input.find('input').css(self.css); self.$input.find('input').css(self.css);
// FIXME: does this work without $element? self.$test = self.$value.clone()
self.$test = self.$value.$element.clone()
.css(Ox.extend({display: 'inline-block'}, self.css)) .css(Ox.extend({display: 'inline-block'}, self.css))
.html(formatTestValue()) .html(formatTestValue())
.css({background: 'rgb(192, 192, 192)'}) .css({background: 'rgb(192, 192, 192)'})