Skip to content
Snippets Groups Projects
Commit d3e388e7 authored by Bryan BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

Open the correct tab, useful for settings panel

parent f487292a
No related branches found
No related tags found
No related merge requests found
Pipeline #31084 passed
...@@ -98,3 +98,10 @@ $(window).on("scroll", function() { ...@@ -98,3 +98,10 @@ $(window).on("scroll", function() {
$("header").removeClass("scrolled"); $("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() ...@@ -7,7 +7,7 @@ readme = open('README.rst').read()
setup( setup(
name='django-basetheme-bootstrap', name='django-basetheme-bootstrap',
version='0.2.35', version='0.2.36',
description='Django Basetheme Bootstrap', description='Django Basetheme Bootstrap',
long_description=readme, long_description=readme,
author='Bryan Brancotte', author='Bryan Brancotte',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment