Tiny-slider: Prev/Next Buttons generated without type="button"

Created on 15 Feb 2019  路  3Comments  路  Source: ganlanyuan/tiny-slider

__Issue description__:

<button> elements generated by tiny-slider are missing the type="button" attribute. This is causing pages using webforms to refresh any time one of these buttons get pressed.

Most helpful comment

All 3 comments

Experiencing the same issue here. For now, I'll have to add type button using JS.

I'm on v2.9.2 and getting this issue. When will this fix be released and hosted on a cdn?

Hotfixing with the following jQuery after calling tns() in the meantime:
$(".tns-controls button").attr("type", "button");

Was this page helpful?
0 / 5 - 0 ratings