src/static/js/admin.js
// Replace spaces in a variable name
Replace spaces in a variable name
Replace spaces in a variable name
function replaceSpaces(name) {
  while (name.includes(" ")) {
    name = name.replace(" ", "_");
  }
  return name;
}
function replaceSpaces ( name ) { while ( name . includes ( " " ) ) { name = name . replace ( " " , "_" ) ; } return name ; }
Replace spaces in a variable name
Replace spaces in a variable name