allow link and span in input-group
fixed transitonend problem