add navbar search icon

This commit is contained in:
Oliver Gorwits
2012-02-03 16:02:45 +00:00
parent 7dee307161
commit acde618a72
3 changed files with 11 additions and 0 deletions

View File

@@ -124,6 +124,11 @@ $(document).ready(function() {
// activate tooltips
$("[rel=twipsy]").twipsy({live: true});
// bind submission to the navbar go icon
$('#navsearchgo').click(function() {
$('#navsearchgo').parent('form').submit();
});
// fix green background on search checkboxes
// https://github.com/twitter/bootstrap/issues/742
syncCheckBox = function() {