mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-29 11:48:56 +03:00
Small whitespace cleanup
This commit is contained in:
parent
a447aecd95
commit
ef430ae7ab
1 changed files with 7 additions and 9 deletions
|
@ -622,9 +622,7 @@ function initIssue() {
|
||||||
(function() {
|
(function() {
|
||||||
var $attachedList = $("#attached-list");
|
var $attachedList = $("#attached-list");
|
||||||
var $addButton = $("#attachments-button");
|
var $addButton = $("#attachments-button");
|
||||||
|
|
||||||
var files = [];
|
var files = [];
|
||||||
|
|
||||||
var fileInput = document.getElementById("attachments-input");
|
var fileInput = document.getElementById("attachments-input");
|
||||||
|
|
||||||
if (fileInput === null) {
|
if (fileInput === null) {
|
||||||
|
@ -638,7 +636,7 @@ function initIssue() {
|
||||||
$parent.remove();
|
$parent.remove();
|
||||||
});
|
});
|
||||||
|
|
||||||
var clickedButton = undefined;
|
var clickedButton;
|
||||||
|
|
||||||
$('#issue-reply-btn,input[type="submit"]', fileInput.form).on('click', function() {
|
$('#issue-reply-btn,input[type="submit"]', fileInput.form).on('click', function() {
|
||||||
clickedButton = this;
|
clickedButton = this;
|
||||||
|
|
Loading…
Reference in a new issue