Why toggle doesn't remove class name?

前端 未结 0 1606
时光说笑
时光说笑 2021-01-14 20:16

Can someone help me with toggle method? Please see below my code

My problem is that by pressing on image toggle adds class of active, thus adding some CSS properties

相关标签:
回答
  • 消灭零回复
提交回复
热议问题