summaryrefslogtreecommitdiff
path: root/shared/js
diff options
context:
space:
mode:
authorCameron McEfee <cameron@github.com>2011-05-18 11:18:23 -0700
committerCameron McEfee <cameron@github.com>2011-05-18 11:18:23 -0700
commit3a6da1ac77fb39aa399fa20cbda19dda81c22930 (patch)
tree98352510438fe80a97e2ebbcf066cce3cecb5866 /shared/js
parent19bac5de92117513f86c7b646a16a139f7e80872 (diff)
update global files
Diffstat (limited to 'shared/js')
-rw-r--r--shared/js/documentation.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/shared/js/documentation.js b/shared/js/documentation.js
index 8711120..842b009 100644
--- a/shared/js/documentation.js
+++ b/shared/js/documentation.js
@@ -3,6 +3,7 @@ $(function() {
var activeItem,
helpList = $('#js-help-sidebar .js-topic'),
firstOccurance = true
+
$('#js-help-sidebar .js-guides').each(function(){
if($(this).find('.disable').length == 0 || firstOccurance == false){
$(this).children().hide()
@@ -33,6 +34,7 @@ $(function() {
$('.help-search .search-box').focus(function(){
$(this).css('background-position','0px -25px')
})
+
$('.help-search .search-box').focusout(function(){
if($(this).val() == ''){
$(this).css('background-position','0px 0px')