Skip to content

Somebody forgot commas for object props ;) #1105

Merged
merged 1 commit into from Feb 27, 2012
+2 −2
View
4 Docs/Interface/Tips.md
@@ -85,15 +85,15 @@ To override the default tip show behavior, you must either declare the onShow ev
var myTips = new Tips('.thisisatooltip', {
onShow: function(tip, el){
tip.setStyles({
- visibility: 'hidden'
+ visibility: 'hidden',
display: 'block'
}).fade('in');
}
});
//if you want to add this after init
myTips.removeEvents('show').addEvent('show', function(tip, el){
tip.setStyles({
- visibility: 'hidden'
+ visibility: 'hidden',
display: 'block'
}).fade('in');
});
Something went wrong with that request. Please try again.