tooltip is optional
This commit is contained in:
parent
09a3537dc1
commit
a048fcc340
1 changed files with 3 additions and 3 deletions
|
@ -158,7 +158,7 @@ Ox.Resizebar = function(options, self) {
|
||||||
);
|
);
|
||||||
self.options.collapsed = !self.options.collapsed;
|
self.options.collapsed = !self.options.collapsed;
|
||||||
that.css({cursor: getCursor()});
|
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) {
|
self.setOption = function(key, value) {
|
||||||
if (key == 'collapsed') {
|
if (key == 'collapsed') {
|
||||||
that.css({cursor: getCursor()});
|
that.css({cursor: getCursor()});
|
||||||
self.$tooltip.options({title: getTitle()});
|
self.$tooltip && self.$tooltip.options({title: getTitle()});
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
};
|
||||||
|
|
||||||
return that;
|
return that;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue