This should work, but it looks like there is a typo.
This will work
It likely doesn't matter as the human eye can't tell the difference, but the options below use a jQuery selector that is a little more specific which in theory will perform better. ...
Hide the button with the X
Remove the button with the X from the DOM altogether.
VocalDay Solutions - Agility - Predictability - Quality
We specialize in enabling business through the innovative use of technology.
-Web/Mobile App Design/Development
-Project Management - Agile, Scrum, Kanban