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 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-dialog modal-dialog-scrollable modal-dialog-centered" role="document">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
|
@ -9,7 +8,7 @@
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div id="awardModalBody" class="modal-body">
|
<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">
|
<div class="card-columns awards-wrapper">
|
||||||
{% for award in v.user_awards %}
|
{% for award in v.user_awards %}
|
||||||
<div>
|
<div>
|
||||||
|
|
|
@ -645,8 +645,7 @@
|
||||||
|
|
||||||
function awardModal(link) {
|
function awardModal(link) {
|
||||||
var target = document.getElementById("awardTarget");
|
var target = document.getElementById("awardTarget");
|
||||||
|
target.action = link;
|
||||||
target.value = link;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Expand Images on Desktop
|
// Expand Images on Desktop
|
||||||
|
|
Loading…
Reference in New Issue