Update DocsSpace.js

This commit is contained in:
Luis Fernando Molina committed 2020-12-22 17:48:09 +01:00
1 parent 5efa668f3d
commit 514f010e5a
1 file changed
+1 -1
@@ -853,7 +853,7 @@ function newSuperalgosDocSpace() {
let splittedPrimaryCommand = primaryCommand.split(' ')
if (splittedPrimaryCommand[0].toLowerCase() === 'add') {
if (splittedPrimaryCommand[0].toLowerCase() === 'docs.add') {
if (splittedPrimaryCommand[2] !== 'to') {
renderCommandResultsPage(["Syntax Error. Keyword <b>to</b> missing: Example: docs.add Concept to Superalgos: New Concept Name. Type <i>help docs.add</i> to learn the command's syntax."])
return