forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2021-09-17 16:08:30 +02:00
parent 176524785f
commit fbd5bc020d
2 changed files with 2 additions and 4 deletions

View File

@ -1,4 +1,3 @@
<input type="hidden" id="awardTarget" value="" />
<div class="modal fade" id="awardModal" tabindex="-1" role="dialog" aria-labelledby="awardModalTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-scrollable modal-dialog-centered" role="document">
<div class="modal-content">
@ -9,7 +8,7 @@
</button>
</div>
<div id="awardModalBody" class="modal-body">
<form class="pt-3 pb-0" action="/post/{{p.id}}/awards" method="post">
<form id="awardTarget" class="pt-3 pb-0" action="" method="post">
<div class="card-columns awards-wrapper">
{% for award in v.user_awards %}
<div>

View File

@ -645,8 +645,7 @@
function awardModal(link) {
var target = document.getElementById("awardTarget");
target.value = link;
target.action = link;
}
// Expand Images on Desktop