cosmetic changes
This commit is contained in:
parent
335c374b73
commit
812e95d740
1 changed files with 6 additions and 8 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue