Toggle tooltip only when it is enabled in Slider (#9042)
Toggle tooltip only when it is enabled in Slider (#9042)

* Update when tooltip is enabled in Slider

We don't want the `toggleTooltip` happening when tooltip is set to `false`.
This solves errors with accessing style attribute of a `null`.

* remove semicolon failing linter test

* trailing whitespace

ericmjl/bokeh,bokeh/bokeh,bokeh/bokeh,timsnyder/bokeh,ericmjl/bokeh,ericmjl/bokeh,bokeh/bokeh,ericmjl/bokeh,bokeh/bokeh,timsnyder/bokeh,timsnyder/bokeh,ericmjl/bokeh,bokeh/bokeh,timsnyder/bokeh,timsnyder/bokeh