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