forked from rDrama/rDrama
fdfd
parent
176524785f
commit
fbd5bc020d
|
@ -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>
|
||||
|
|
|
@ -645,8 +645,7 @@
|
|||
|
||||
function awardModal(link) {
|
||||
var target = document.getElementById("awardTarget");
|
||||
|
||||
target.value = link;
|
||||
target.action = link;
|
||||
}
|
||||
|
||||
// Expand Images on Desktop
|
||||
|
|
Loading…
Reference in New Issue