Ignore:
Timestamp:
10/16/21 15:07:33 (3 years ago)
Author:
KostaFortumanov <kfortumanov@…>
Branches:
master
Children:
2d8c0e7
Parents:
7888b17
Message:

bug fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/resources/templates/post.html

    r7888b17 rb8a8d06  
    7777                Report
    7878            </button>
     79            <div id="error" class="text-danger" hidden>Donation error</div>
    7980
    8081            <!-- Modal -->
     
    197198</div>
    198199<script src="/js/bootstrap.min.js"></script>
     200<script>
     201    location.search
     202        .substr(1)
     203        .split("&")
     204        .forEach(function (item) {
     205            tmp = item.split("=");
     206            if (tmp[0] === "error") {
     207                document.getElementById("error").hidden = false;
     208            }
     209        });
     210</script>
    199211<script th:inline="javascript" th:unless="${notFound}" sec:authorize="isAuthenticated()">
    200212    /*<![CDATA[*/
Note: See TracChangeset for help on using the changeset viewer.