From c4c121e57516ffb70b980ea1fbafe1e6f8611c3f Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Mon, 13 Apr 2015 15:26:48 +0200 Subject: Fix bootstrap tooltip error This was caused by running the tooltip() function against the document object, while it should be ran against the objects that use a tooltip. This new method is the suggested way to enable tooltips per http://getbootstrap.com/javascript/#tooltips-examples. https://fedorahosted.org/ipsilon/ticket/98 Signed-off-by: Patrick Uiterwijk Reviewed-by: Simo Sorce --- templates/master-admin.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/master-admin.html b/templates/master-admin.html index e838111..8987df9 100644 --- a/templates/master-admin.html +++ b/templates/master-admin.html @@ -14,9 +14,9 @@ $( document ).ready( function() { history.replaceState({} , document.title, "{{ newurl }}"); + $('[data-toggle="tooltip"]').tooltip(); } ); - $( document ).tooltip(); {% endif %} {% block scripts %} -- cgit