You prepend a new html to your shapedeck here:
$('.shape-deck').prepend(shape_top); // a .shape-top.interactive element is prepended but the event does not fire
However this element does not have any click listener bound to it, which is why they are not fired, you either need to recall your event listener or outsource it to a function.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…