I have this section:
<div id="weather">
<h4><i class="icon-chevron-down"></i> Weather</h4>
and code to this:
$('#weather h4').click(function (){
$('#weather .entries').toggle();
$('#weather .icon-chevron-down').toggleClass('icon-chevron-right');
});
and it doesn't work, but if I change places for icon-chevron, it works:
is it a bug or am I doing something wrong??