Skip to content

Commit

Permalink
Remove broken/needless JS from certain pages
Browse files Browse the repository at this point in the history
  • Loading branch information
mwild1 committed Dec 12, 2023
1 parent 2769036 commit 8c44fcc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions snikket_web/templates/invite_reset.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
{% block head_lead %}
{{ super() }}
<title>{% trans %}Reset your password | Snikket{% endtrans %}</title>
<script async type="text/javascript" src="{{ url_for("static", filename="js/qrcode.min.js") }}"></script>
{% endblock %}
{% block content %}
<form method="POST"><div class="form layout-expanded">
Expand All @@ -27,9 +26,4 @@ <h1 class="form-title">{% trans %}Reset your password online{% endtrans %}</h1>
{%- call form_button("passwd", form.action_reset, class="primary") -%}{%- endcall -%}
</div>
</div></form>
<script type="text/javascript">
var onload = function() {
apply_qr_code(document.getElementById("qr-uri"));
};
</script>
{% endblock %}
1 change: 0 additions & 1 deletion snikket_web/templates/invite_view.html
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ <h2>{% trans %}Alternatives{% endtrans %}</h2>

var onload = function() {
apply_qr_code(document.getElementById("qr-invite-page"));
apply_qr_code(document.getElementById("qr-uri"));
var popover_as = document.getElementsByClassName("popover");
for (var i = 0; i < popover_as.length; ++i) {
var a = popover_as[i];
Expand Down

0 comments on commit 8c44fcc

Please sign in to comment.