remotes/1693045480750635534/spooky-22
Aevann1 2021-07-21 13:23:18 +02:00
parent 01b2f1eef2
commit 548d84f108
2 changed files with 24 additions and 3 deletions

View File

@ -4,6 +4,18 @@
{% include "bootstrap.html" %}
<script>
$('.expandable-image').click( function(event) {
if (event.which != 1) {
return
}
event.preventDefault();
var url= $(this).data('url');
expandDesktopImage(url,url);
})
$('.text-expand').click(function(event){
if (event.which != 1) {
return

View File

@ -1,9 +1,20 @@
<!DOCTYPE html>
<html lang="en">
<head>
{% include "bootstrap.html" %}
<script>
$(document).ready(function() {
$('#submitform').submit(function() {
// disable button
$("#create_button").prop("disabled", true);
// add spinner to button
$("#create_button").html('<span class="spinner-border spinner-border-sm mr-2" role="status" aria-hidden="true"></span>Creating post');
});
});
// Text Formatting
// Bold Text
@ -416,8 +427,6 @@
{% endblock %}
{% include "bootstrap.html" %}
<!-- Drama JS -->
<script src="/assets/js/all_js.js"></script>