..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);
self.$input.find('input').css(self.css);
// FIXME: does this work without $element?
self.$test = self.$value.$element.clone()
self.$test = self.$value.clone()
.css(Ox.extend({display: 'inline-block'}, self.css))
.html(formatTestValue())
.css({background: 'rgb(192, 192, 192)'})