Use a big hammer

This commit is contained in:
David Buxton 2014-01-23 12:03:41 +00:00
parent f6503519c8
commit 45300e599f
2 changed files with 3 additions and 1 deletions

View File

@ -132,7 +132,7 @@
<!-- end: JavaScript-->
<script type="text/coffeescript">
$ () ->
$('.sparktristate').sparkline('html', {type: 'tristate', disableHiddenCheck: true})
$('.sparktristate').sparkline('html', {type: 'tristate'})
$('ul.nav li a').each () ->
if $($(this))[0].href == String(window.location)

View File

@ -17,6 +17,8 @@
iDisplayLength: 100
oLanguage:
sLengthMenu: "_MENU_ records per page"
fnDrawCallback: () ->
$('.sparktristate').sparkline('html', {type: 'tristate'})
</script>
{% endcompress %}
{% endblock js %}