Closed rollbackpt closed 11 years ago
Why the version in the official site http://paulkinzett.github.com/toolbar/ has the hideOnClick function and and code on github doesn't?
bindHideEvent: function() { var self = this; var hideEvent = "click.toolbar"; if(self.options.hideOnClick) { $('html').off(hideEvent).on(hideEvent, function( event ) { if(self.toolbar.has(event.target).length === 0 ) { self.hide(); } }); } },
Already added that to my pull request in #5.
Thanks for spotting this, your pull request has been merged.
Why the version in the official site http://paulkinzett.github.com/toolbar/ has the hideOnClick function and and code on github doesn't?