iOS not recognising click events

前端 未结 1 1199
孤城傲影
孤城傲影 2021-01-18 23:09

Im using jQuery to create an interactive map. If you click on any of the 6 locations to the left of the map, the map will pan to them and a label with their name appears by

1条回答
  •  情书的邮戳
    2021-01-18 23:34

    Changing the event listener "click" to "click touchstart" fixed this.

    0 讨论(0)
提交回复
热议问题