forked from 0x2620/oxjs
improve editable and tooltip
This commit is contained in:
parent
b957106624
commit
e7c36dacc8
2 changed files with 18 additions and 4 deletions
|
|
@ -30,6 +30,7 @@ Ox.Tooltip = function(options, self) {
|
|||
self.setOption = function(key, value) {
|
||||
if (key == 'title') {
|
||||
that.html(value);
|
||||
value === '' && that.detach();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue