I've found a similar bug in 18.104.22.168 version. The was in the file template/xhtml/tooltip.ftl.
The correct code would be:
+ <#if parameters.jsTooltipEnabled?default('false') == 'false'>
I hope it's useful