added to alert function

It will now prevent users from entering a blank space as a list item.
Merge branch 'master' into gh-pages