Fix for issue twbs/bootstrap/#7849 : jQuery.error error in tooltip

This came with commit twbs/bootstrap/@01e0f8c10547 and affects also issue issue twbs/bootstrap/#10547.
Commited here, because v2.3.2 is end of life and patches for old versions are not accepted.
Version 3 does option handling different so this patch isn't needed for version 3.