added image_popup
This commit is contained in:
parent
35050b61f6
commit
cca63657ff
@ -8,6 +8,9 @@
|
||||
<div><input type="file" name="file_upload" id="file_upload" style="display:none;"></div>
|
||||
<div><button onclick="upload()" type="submit" class="btn" id="upload_popup_sub">Zveřejnit</button></div>
|
||||
</div>
|
||||
<div id="image_popup">
|
||||
<img src="//:0">
|
||||
</div>
|
||||
<div id="posts"></div>
|
||||
|
||||
<script>
|
||||
@ -89,4 +92,9 @@
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
$(document).on("click", ".post_image", function(event)
|
||||
{
|
||||
console.log($(this).children("img").attr("src"));
|
||||
});
|
||||
</script>
|
Loading…
x
Reference in New Issue
Block a user