Skip to content
Browse files

Merge pull request #1105 from Covi/patch-1

Somebody forgot commas for object props ;)
  • Loading branch information...
2 parents 3dcdddb + a41351e commit 8d9dfe6c553683ccfb41ea56a7e1309c17c6cb7c @arian arian committed Feb 27, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Docs/Interface/Tips.md
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');
});

0 comments on commit 8d9dfe6

Please sign in to comment.
Something went wrong with that request. Please try again.