updateElement
This commit is contained in:
parent
706df6cc4b
commit
877e867d03
35 changed files with 516 additions and 314 deletions
|
|
@ -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();
|
||||
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue