[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Ricardo Wurmus |
Date: |
Tue, 13 Feb 2024 11:57:23 -0500 (EST) |
branch: wip-js+css
commit 213d6e92afe03dbb5466d0494ee032a41916696c
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Feb 12 12:32:08 2024 +0100
cuirass.js: Add missing semicolons.
* src/static/js/cuirass.js: Add semicolon wherever its missing.
---
src/static/js/cuirass.js | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/static/js/cuirass.js b/src/static/js/cuirass.js
index f5cdd1b..b639689 100644
--- a/src/static/js/cuirass.js
+++ b/src/static/js/cuirass.js
@@ -201,7 +201,7 @@ ready(() => {
div.html('')
.style('left', '0px')
.style('top', '0px');
- })
+ });
enableLoadButton();
}
@@ -263,18 +263,18 @@ ready(() => {
}
(function () {
- 'use strict'
- var forms = document.querySelectorAll('.needs-validation')
+ 'use strict';
+ var forms = document.querySelectorAll('.needs-validation');
Array.prototype.slice.call(forms)
.forEach(function (form) {
form.addEventListener('submit', function (event) {
if (!form.checkValidity()) {
- event.preventDefault()
- event.stopPropagation()
+ event.preventDefault();
+ event.stopPropagation();
}
- form.classList.add('was-validated')
- }, false)
- })
+ form.classList.add('was-validated');
+ }, false);
+ });
})();
const select_choices = new Choices($('.build-param-select')[0], {
- branch wip-js+css created (now 7c0d1ea), Ricardo Wurmus, 2024/02/13
- [no subject], Ricardo Wurmus, 2024/02/13
- [no subject], Ricardo Wurmus, 2024/02/13
- [no subject], Ricardo Wurmus, 2024/02/13
- [no subject], Ricardo Wurmus, 2024/02/13
- [no subject], Ricardo Wurmus, 2024/02/13
- [no subject], Ricardo Wurmus, 2024/02/13
- [no subject], Ricardo Wurmus, 2024/02/13
- [no subject], Ricardo Wurmus, 2024/02/13
- [no subject],
Ricardo Wurmus <=
- [no subject], Ricardo Wurmus, 2024/02/13
- [no subject], Ricardo Wurmus, 2024/02/13
- [no subject], Ricardo Wurmus, 2024/02/13