mirror of
https://github.com/HaitiData/haitidata.git
synced 2026-11-10 08:47:30 +00:00
14 lines
371 B
HTML
14 lines
371 B
HTML
<script type="text/javascript">
|
|
$(function() {
|
|
$('div.overall_rating').raty({
|
|
half: true,
|
|
readOnly: true,
|
|
score: function() {
|
|
return $(this).attr('data-score');
|
|
},
|
|
path: "{{ STATIC_URL }}lib/img/"
|
|
});
|
|
var activeTab = $("[href='" + location.hash + "']");
|
|
activeTab && activeTab.tab('show');
|
|
});
|
|
</script> |