summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Uiterwijk <puiterwijk@redhat.com>2015-04-13 15:26:48 +0200
committerSimo Sorce <simo@redhat.com>2015-04-13 09:43:28 -0400
commitc4c121e57516ffb70b980ea1fbafe1e6f8611c3f (patch)
tree00cf432c4422b54ede3391e677048c5ad7642022
parent1055b7bc810139d1e6ee3c225bcfba7b88e7aeab (diff)
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 <puiterwijk@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>
-rw-r--r--templates/master-admin.html2
1 files changed, 1 insertions, 1 deletions
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();
</script>
{% endif %}
{% block scripts %}