summaryrefslogtreecommitdiff
path: root/shared/js
diff options
context:
space:
mode:
authorCameron McEfee <cameron@github.com>2011-05-18 11:52:30 -0700
committerCameron McEfee <cameron@github.com>2011-05-18 11:52:30 -0700
commit2fc38e4dbefcdf144966841a528f6dbd3e510c82 (patch)
treea948154f01baec0ecc6c4e2ebac1c30af7d8f149 /shared/js
parent285d585d55e5ffa1ed5b82c4d7fb50dd43599025 (diff)
update global files to fix categroy hover issue
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')