fix(dropdownToggle): Check attribute instead of HTML class