Commit 639385f7 authored by Luís Rudge's avatar Luís Rudge

add css class to the select all <a> tag

parent 91dd61fc
......@@ -14,6 +14,9 @@
<script type="text/javascript" src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/bootstrap-multiselect.js"></script>
<script type="text/javascript" src="js/prettify.js"></script>
<style>
.select-all-option label { font-weight: bold; }
</style>
</head>
<body>
<div class="container">
......
......@@ -135,6 +135,7 @@
var selected = $(element).prop('selected') || false;
var $checkbox = $('input', $li);
$checkbox.val(value);
if (value == 'select-all-option') $checkbox.parent().parent().addClass('select-all-option');
$('label', $li).append(" " + label);
$('ul', this.$container).append($li);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment