add navbar search icon
This commit is contained in:
@@ -5,6 +5,11 @@ body {
|
||||
padding-top: 50px;
|
||||
}
|
||||
|
||||
.navbar_icon {
|
||||
vertical-align: middle;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
||||
/* various styles to adjust the hero box used for homepage + login */
|
||||
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user