mirror of
https://gitlab.com/MrFry/moodle-test-userscript
synced 2025-04-01 20:22:48 +02:00
Question simplifying fix
This commit is contained in:
parent
f34449c960
commit
c86ab99244
2 changed files with 5 additions and 3 deletions
3
main.js
3
main.js
|
@ -184,7 +184,8 @@ class StringUtils {
|
|||
|
||||
let s = value.split('. ')
|
||||
if (s[0].length < 2 && s.length > 1) {
|
||||
return s.shift()
|
||||
s.shift()
|
||||
return s.join(' ')
|
||||
} else {
|
||||
return value
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue