cosmetic changes

This commit is contained in:
rlx 2014-09-22 17:10:43 +02:00
parent a8361bd3ac
commit fb77591a2b

View file

@ -118,6 +118,9 @@
}); });
that[0] = that.$element[0]; that[0] = that.$element[0];
that.length = 1; that.length = 1;
that.self = function() {
return arguments[0] === _ ? self : {};
};
Ox.elements[that.oxid] = that; Ox.elements[that.oxid] = that;
if (self.options.element == '<iframe>') { if (self.options.element == '<iframe>') {
@ -129,11 +132,6 @@
}); });
} }
that.self = function() {
// this function has to be anonymous in order not to shadow self
return arguments[0] === _ ? self : {};
};
setTooltip(); setTooltip();
function bindTooltipEvents(events) { function bindTooltipEvents(events) {