{% comment %}
<!--
  Copyright (C) 2011 University of Dundee & Open Microscopy Environment.
  All rights reserved.

  This program is free software: you can redistribute it and/or modify
  it under the terms of the GNU Affero General Public License as
  published by the Free Software Foundation, either version 3 of the
  License, or (at your option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU Affero General Public License for more details.

  You should have received a copy of the GNU Affero General Public License
  along with this program.  If not, see <http://www.gnu.org/licenses/>.
-->
{% endcomment %}

<link rel="stylesheet" href="{% static "3rdparty/jquery-ui-1.12.1/css/jquery-ui.css" %}" type="text/css" />
<script type="text/javascript" src="{% static "3rdparty/jquery-ui-1.12.1/js/jquery-ui.js" %}"></script>

<!-- Disable JQuery UI Tabs Keyboard Navigation -->
<script type="text/javascript">
    $.widget("ui.tabs", $.ui.tabs, {
        _tabKeydown: function (event) {
            if (event.keyCode !== 37 &&
                event.keyCode !== 38 &&
                event.keyCode !== 39 &&
                event.keyCode !== 40) {
                this._super(event);
            }
        }
    });
</script>