aboutsummaryrefslogtreecommitdiff
path: root/resources/assets/javascripts/bootstrap
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+github@gmail.com>2024-07-08 11:08:21 +0200
committerJan-Hendrik Willms <tleilax+github@gmail.com>2024-07-08 11:08:29 +0200
commitcbbed38d31fb4f4d847b7f43c448a20e075f82e9 (patch)
tree35bd772025e5351fe8d9f3fbd4707cb41a345d5d /resources/assets/javascripts/bootstrap
parent6f89d9873ed8a3e0d290b2315c0d797d71c800f4 (diff)
fix js errors, re #4367
Diffstat (limited to 'resources/assets/javascripts/bootstrap')
-rw-r--r--resources/assets/javascripts/bootstrap/vue.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/resources/assets/javascripts/bootstrap/vue.js b/resources/assets/javascripts/bootstrap/vue.js
index 637241a..ce1aa0d 100644
--- a/resources/assets/javascripts/bootstrap/vue.js
+++ b/resources/assets/javascripts/bootstrap/vue.js
@@ -20,6 +20,7 @@ STUDIP.ready(() => {
c.mounted = function (...args) {
if (
this.$el instanceof Element
+ && this.$el.closest('.studip-dialog')
&& this.$el.querySelector('[data-dialog-button]')
) {
this.$el.closest('.studip-dialog')