refs #17301: fix dojo/on.selector to properly handle text node