Unnarrow when you click 'home'.

Potential downside: If you were narrowed and went to, e.g.,
settings, you would lose your place. If we wanted to be more
fancy we could have this code fire only if you were already
on the #home tab.

(imported from commit 5e8d90ba255076a11aa6f7a58c447156729ca23f)
This commit is contained in:
Waseem Daher 2012-10-07 17:02:22 -04:00
parent 10c15ba1cf
commit 1f2c0faee4

View File

@ -61,7 +61,7 @@ var have_initial_messages = {{ have_initial_messages }};
<span class="my_fullname">{{ user_profile.full_name }}</span><br/>
<span class="my_email">{{ user_profile.user.email }}</span>
<span class="logout">(<a href="/accounts/logout?next=/accounts/login">not you?</a>)</span>
<li class="active"><a href="#home" data-toggle="pill"><i class="icon-home"></i> Home</a></li>
<li class="active"><a href="#home" data-toggle="pill" onclick="show_all_messages()"><i class="icon-home"></i> Home</a></li>
<li><a href="#subscriptions" data-toggle="pill"><i class="icon-globe"></i> Subscriptions</a></li>
<li class="disabled"><a href="#"><i class="icon-star"></i> Starred</a></li>
<li><a href="#settings" data-toggle="pill"><i class="icon-edit"></i> Settings</a></li>