0
// If you use selectors multiple times, always cache them into variables, else jQuery has to search for them multiple times.
var $cont = $('.cont'),
$expandAll = $('#expandAll'),
$trigger = $('.trigger');
function expandAll() {
$cont.removeClass('hid');
$trigger.html('-');...