Skip to content

Commit 803e783

Browse files
committed
allow slashes in involvement slugs
1 parent aa6b3b3 commit 803e783

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/templates/admin/locationsKoForm.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ function initLocationVM() {
124124
read: target,
125125
write: function(newValue) {
126126
let current = target();
127-
newValue = newValue.toLowerCase().replaceAll(/([^a-z0-9]+)+/g, '-')
127+
newValue = newValue.toLowerCase().replaceAll(/([^a-z0-9/]+)+/g, '-')
128128

129129
//only write if it changed
130130
if (newValue !== current) {

0 commit comments

Comments
 (0)