Prefill select

pull/20/head
Joe Biellik 5 years ago
parent 3b1580edec
commit 0b57c52db8

@ -32,9 +32,9 @@ $(function() {
var value = location.hash.slice(1);
if (value && $('select#highlight option[value=' + value + ']').length) {
$('select#highlight').val(value);
$('select#highlight').selectpicker('val', value);
} else {
$('select#highlight').val('');
$('select#highlight').selectpicker('val', '');
}
});

Loading…
Cancel
Save