fixed typo in ternary operator in draggalbe plugin