updateElement

This commit is contained in:
j 2014-05-17 13:45:57 +02:00
commit 877e867d03
35 changed files with 516 additions and 314 deletions

View file

@ -19,16 +19,16 @@ oml.ui.fullscreenButton = function() {
Ox.Fullscreen.enter(oml.$ui.viewer.find('iframe')[0]);
},
oml_itemview: function() {
that.update();
that.updateElement();
}
});
that.update = function() {
that.updateElement = function() {
return that.options({
disabled: ui.itemView != 'book'
});
};
return that.update();
return that.updateElement();
};