I need to remove borders and make them reappear after a bit, but 2 css methods do not work one after another somehow.
$(".item").click(function() {
$(this).css({
"border-left": "none",
"border-bottom": "none"
});
var that = this;
var returnBorder = window.setTimeout(function() {
$(that).css({
"border-left": "solid 3px #0086b3;",
"border-bottom": "solid 3px #0086b3;"
});
}, 500);
});