Corrected parameter name.

Name should be tagName, not className.