summaryrefslogtreecommitdiff
path: root/wwwroot/js
diff options
context:
space:
mode:
Diffstat (limited to 'wwwroot/js')
-rw-r--r--wwwroot/js/button.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/wwwroot/js/button.js b/wwwroot/js/button.js
new file mode 100644
index 0000000..f5d32f5
--- /dev/null
+++ b/wwwroot/js/button.js
@@ -0,0 +1,6 @@
+function triggerButtonError(e) {
+ e.classList.remove('error')
+ void e.offsetWidth;
+ e.classList.add('error')
+ void e.offsetWidth;
+}