Fix dict not work in some old site.
Close menu while menu clicked