merge changes in Ox.Resizebar
This commit is contained in:
commit
6279a602fd
1 changed files with 3 additions and 3 deletions
|
@ -158,7 +158,7 @@ Ox.Resizebar = function(options, self) {
|
|||
);
|
||||
self.options.collapsed = !self.options.collapsed;
|
||||
that.css({cursor: getCursor()});
|
||||
self.$tooltip.options({title: getTitle()});
|
||||
self.$tooltip && self.$tooltip.options({title: getTitle()});
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -178,9 +178,9 @@ Ox.Resizebar = function(options, self) {
|
|||
self.setOption = function(key, value) {
|
||||
if (key == 'collapsed') {
|
||||
that.css({cursor: getCursor()});
|
||||
self.$tooltip.options({title: getTitle()});
|
||||
}
|
||||
self.$tooltip && self.$tooltip.options({title: getTitle()});
|
||||
}
|
||||
};
|
||||
|
||||
return that;
|
||||
|
||||
|
|
Loading…
Reference in a new issue