Commit d3e388e7 authored by Bryan  BRANCOTTE's avatar Bryan BRANCOTTE

Open the correct tab, useful for settings panel

parent f487292a
Pipeline #31084 passed with stage
in 1 minute and 20 seconds
......@@ -98,3 +98,10 @@ $(window).on("scroll", function() {
$("header").removeClass("scrolled");
}
});
$(document).ready(function(){
let url = document.location.toString();
if ( url.match('#') ) {
$('.nav-tabs a.nav-item[href="#'+url.split('#')[1] + '"]').tab('show');
}
});
......@@ -7,7 +7,7 @@ readme = open('README.rst').read()
setup(
name='django-basetheme-bootstrap',
version='0.2.35',
version='0.2.36',
description='Django Basetheme Bootstrap',
long_description=readme,
author='Bryan Brancotte',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment