mirror of
https://github.com/mbirth/wiki.git
synced 2024-11-09 13:16:45 +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