mirror of
https://github.com/mbirth/wiki.git
synced 2024-12-25 23:04:06 +00:00
Add label to comments selector.
This commit is contained in:
parent
73b88a181e
commit
f2209d9860
@ -1,4 +1,5 @@
|
||||
<ul id="comments-tabs">
|
||||
<li class="static">Comments:</li>
|
||||
<li class="current" data-div="comments_disqus">Disqus</li>
|
||||
<li data-div="comments_google">Google+</li>
|
||||
</ul>
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
---
|
||||
$(document).ready ->
|
||||
$('ul#comments-tabs li').click ->
|
||||
$('ul#comments-tabs li').not('.static').click ->
|
||||
tab_id = $(this).attr 'data-div'
|
||||
|
||||
$('ul#comments-tabs li').removeClass 'current'
|
||||
|
Loading…
Reference in New Issue
Block a user