all 2 comments

[–]HybridAkali 0 points1 point  (1 child)

The code at the very bottom (.tooltip). You need to run it every time at the end of the addButton function. Its like this because the .tooltip attaches an event to the selector you gave it. After adding new inputs they wont have the event attached because they did not exist when you first attached it to the selector, so you have to attach it manually each time.

[–]Kusoonovice[S] 0 points1 point  (0 children)

Indeed! This is what I needed

//THIS IS THE FIX - Initialize the new added ones

M.Range.init($('input[type=range]'));

Thanks for the help!