1
0
mirror of https://github.com/oupala/apaxy.git synced 2025-08-22 22:34:42 +02:00

Merge pull request #11 from james2doyle/patch-1

remove jquery dependency
This commit is contained in:
Adam Whitcroft
2013-08-02 09:01:31 -07:00

View File

@@ -7,7 +7,7 @@
<div class="footer">
Apaxy by <a href="https://twitter.com/adamwhitcroft">@adamwhitcroft</a>
</div><!--/.footer-->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script>
$('tr:nth-child(2)').addClass('parent');
</script>
// grab the 2nd child and add the parent class. tr:nth-child(2)
document.getElementsByTagName('tr')[1].className = 'parent';
</script>