We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7ae33e commit 3ee0dcbCopy full SHA for 3ee0dcb
1 file changed
src/static/riot/competitions/editor/_participation.tag
@@ -205,6 +205,16 @@
205
}
206
207
self.on('mount', () => {
208
+
209
+ const form = self.root.querySelector('form')
210
+ if (form) {
211
+ form.addEventListener('submit', function(e){
212
+ e.preventDefault()
213
+ e.stopPropagation()
214
+ return false
215
+ })
216
+ }
217
218
let participants = parseJsonScriptElement('available-participants')
219
if (!participants || !participants.length) {
220
participants = parseJsonScriptElement('available-users')
0 commit comments