diff --git a/src/templates/layout.pug b/src/templates/layout.pug index 0cfb79a9..2c9e727c 100644 --- a/src/templates/layout.pug +++ b/src/templates/layout.pug @@ -86,7 +86,7 @@ html(lang="en") script(src="{{ url_for('static_pillar', filename='assets/js/vendor/jquery.bootstrap-3.3.7.min.js') }}") - | {% if current_user.is_authenticated() %} + | {% if current_user.is_authenticated %} script(src="{{ url_for('static_pillar', filename='assets/js/vendor/jquery.typewatch-3.0.0.min.js') }}") script. // When sending an AJAX request, always add the X-CSRFToken header to it.