From 3efe46033cb2658c1d7460202f3d6b85f96c74d8 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Wed, 27 Dec 2023 10:23:27 -0300 Subject: [PATCH] profile: delay jQuery calls until after page is really loaded I was getting `$(...).popover is not a function` on the JS console because at the time .popover() is called, probably the other JS bits haven't beed loaded. --- wafer/users/templates/wafer.users/profile.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/wafer/users/templates/wafer.users/profile.html b/wafer/users/templates/wafer.users/profile.html index d9764ba9..4b66c16b 100644 --- a/wafer/users/templates/wafer.users/profile.html +++ b/wafer/users/templates/wafer.users/profile.html @@ -12,8 +12,9 @@ {% endblock content %} {% block extra_foot %} {% endblock extra_foot %}