1
0
mirror of https://github.com/mbirth/wiki.git synced 2024-12-24 22:54:09 +00:00

Added hint to comments section.

This commit is contained in:
Markus Birth 2015-06-29 00:07:45 +02:00
parent 80614d384d
commit 023d57f0cf
2 changed files with 3 additions and 0 deletions

View File

@ -2,6 +2,7 @@
<li class="static">Comments:</li>
<li data-service="disqus" data-div="comments_disqus">Disqus</li>
<li data-service="google" data-div="comments_google">Google+</li>
<li class="hint static">(Click to enable.)</li>
</ul>
<div id="comments_disqus" class="comments-tab">

View File

@ -24,6 +24,8 @@ $(document).ready ->
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild gog
$(this).removeAttr 'data-service'
$('ul#comments-tabs li.hint').remove
$('ul#comments-tabs li').removeClass 'current'
$('.comments-tab').removeClass 'current'