{% load url from future %}
{% if regions.support %}
  <div id="region_switcher" class="dropdown switcher_bar" tabindex='1'>
    <button class="btn btn-default btn-topnav dropdown-toggle" data-toggle="dropdown">
      {{ regions.current.name }}
      <span class="caret"></span>
    </button>
    <ul id="region_list" class="dropdown-menu topbar-dropdown-menu">
      {% for region in regions.available %}
        {% if region.name != regions.current.name %}
          <li><a class="ajax-modal" href="{% url 'login' %}?region={{ region.endpoint|urlencode }}">{{ region.name }}</a></li>
        {% endif %}
      {% endfor %}
    </ul>
  </div>
{% endif %}

{% load url from future %}
{% if regions.support %}
  <div id="region_switcher" class="dropdown switcher_bar" tabindex='1'>
    <button class="btn btn-default btn-topnav dropdown-toggle">
      {{ regions.current.name }}
      <span class="caret"></span>
    </button>
    <ul id="region_list" class="dropdown-menu topbar-dropdown-menu">
      {% for region in regions.available %}
        {% if region.name != regions.current.name %}
          <li><a class="ajax-modal" href="{% url 'login' %}?region={{ region.endpoint|urlencode }}">{{ region.name }}</a></li>
        {% endif %}
      {% endfor %}
    </ul>
  </div>
{% endif %}

Fix not opening region selector on first click
Fix not opening region selector on first click

Closes-Bug: #1500385
Change-Id: Ieeb09af6cde63cd286799512801feb7341bca7d6
