fix comments

This commit is contained in:
Kostiantyn Stoliarskyi 2023-05-17 15:41:10 +03:00
parent 46cfaea7bf
commit c93909fb86
4 changed files with 2 additions and 13 deletions

File diff suppressed because one or more lines are too long

View File

@ -76,9 +76,8 @@
{% if current_user.is_authenticated %}
{% block right_sidebar %} {% include 'right_sidebar.html' %} {% endblock %}
{% endif %}
{% include 'book/add_book_modal.html' %}
{% endif %}
<!-- prettier-ignore -->
<script src="{{ url_for('static', filename='js/main.js') }}" type="text/javascript" defer></script>

View File

@ -4,19 +4,10 @@
{% if current_user.is_authenticated %}
{% include 'book/delete_section_modal.html' %}
{% include 'book/edit_section_modal.html' %}
{% endif %}
<!-- show delete section btn on rightside bar -->
{% if current_user.is_authenticated %}
<!-- prettier-ignore -->
{% set show_delete_section = True %}
<!-- prettier-ignore -->
{% set show_edit_section = True %}
<!-- prettier-ignore -->
{% endif %}
<!-- prettier-ignore -->
{% if current_user.is_authenticated %}
{% block right_sidebar %}
{% include 'book/right_sidebar.html' %}
{% endblock %}

View File

@ -54,7 +54,6 @@ export function initWallet() {
credentials: 'include',
redirect: 'follow',
});
console.log(res2);
if (res2.status == 200) {
window.location.replace(res2.url);
} else window.location.reload();