Show More
@@ -416,7 +416,6 b' YAHOO.yuitip.main = {' | |||||
416 | }, |
|
416 | }, | |
417 |
|
417 | |||
418 | init: function(){ |
|
418 | init: function(){ | |
419 | yt._tooltip = ''; |
|
|||
420 | yt.tipBox = yt.$('tip-box'); |
|
419 | yt.tipBox = yt.$('tip-box'); | |
421 | if(!yt.tipBox){ |
|
420 | if(!yt.tipBox){ | |
422 | yt.tipBox = document.createElement('div'); |
|
421 | yt.tipBox = document.createElement('div'); | |
@@ -457,7 +456,7 b' YAHOO.yuitip.main = {' | |||||
457 |
|
456 | |||
458 | if(yt.tipText !== ''){ |
|
457 | if(yt.tipText !== ''){ | |
459 | // save org title |
|
458 | // save org title | |
460 | yt._tooltip = yt.tipText; |
|
459 | YUD.setAttribute(el, 'tt_title', yt.tipText); | |
461 | // reset title to not show org tooltips |
|
460 | // reset title to not show org tooltips | |
462 | YUD.setAttribute(el, 'title', ''); |
|
461 | YUD.setAttribute(el, 'title', ''); | |
463 |
|
462 | |||
@@ -495,7 +494,7 b' YAHOO.yuitip.main = {' | |||||
495 | } else { |
|
494 | } else { | |
496 | YUD.setStyle(yt.tipBox, 'display', 'none'); |
|
495 | YUD.setStyle(yt.tipBox, 'display', 'none'); | |
497 | } |
|
496 | } | |
498 |
YUD.setAttribute(el,'title', |
|
497 | YUD.setAttribute(el,'title', YUD.getAttribute(el, 'tt_title')); | |
499 | } |
|
498 | } | |
500 | } |
|
499 | } | |
501 |
|
500 |
General Comments 0
You need to be logged in to leave comments.
Login now