2.6 release
Fixed options.discrete scope
Fixed options.discrete scope
[TASK] Allow not showing or hiding a tip automatically

This allows the `hideOn` and `showOn` options to also
be `null` if the tip should not be hidden or shown
on a particular event.

Besides, it corrects a variable scope.