Removes border if no type attribute given on an input

#2432