# HG changeset patch # User Takumi IINO # Date 2015-10-25 19:32:18 # Node ID 21f80c6cdf0c993b25e8c46cd6b5346da79ca739 # Parent 59edb20f88ad8aaad2c22ffeb2fb2adc201e6d60 js: wrap repo_switcher setup code in $(document).ready Without wrapping in a function, some variables were made global, such as cache, format, visual_show_public_icon. diff --git a/kallithea/templates/base/base.html b/kallithea/templates/base/base.html --- a/kallithea/templates/base/base.html +++ b/kallithea/templates/base/base.html @@ -353,95 +353,97 @@