cosmetic changes

This commit is contained in:
rolux 2013-12-06 20:56:33 +01:00
parent 335c374b73
commit 812e95d740

View file

@ -93,16 +93,14 @@ Ox.Element = function(options, self) {
// create public object
var that = new Ox.JQueryElement($(self.options.element || '<div>'))
.addClass('OxElement')
.on({
.on(Ox.extend({
mousedown: mousedown,
mousewheel: mousewheel
});
if (self.options.element == '<iframe>') {
that.on('load', function() {
Ox.Message.post(that, 'init', {id: that.oxid});
});
}
}, self.options.element == '<iframe>' ? {
load: function() {
Ox.Message.post(that, 'init', {id: that.oxid});
}
} : {}));
setTooltip();