Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

smoothing

  • Loading branch information...
commit cede15278be25785bb59b5a309c337c62bdfa0e3 1 parent 2635e60
@codepo8 authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 worldinfo.js
View
7 worldinfo.js
@@ -95,10 +95,11 @@ $(document).ready(function(){
// navigation and we shift the "show" class from the last shown
// sub-menu to the current one
if($(this).html().length==1){
- $(current).removeClass('show');
- $('#list'+$(this).html()).addClass('show');
+ $(current).removeClass('show').hide();
current = $('#list'+$(this).html());
-
+ current.hide().addClass('show').show('medium');
+ $('#list'+$(this).html()+' button:first').focus();
+
// otherwise we call the showcountry function
} else {
showcountry($(this));
Please sign in to comment.
Something went wrong with that request. Please try again.