Passage sous flask
This commit is contained in:
parent
e35eaee1d4
commit
eaa4fd9103
71 changed files with 52 additions and 43 deletions
16
static/js/perso.js
Normal file
16
static/js/perso.js
Normal file
|
@ -0,0 +1,16 @@
|
|||
(function($) {
|
||||
|
||||
$(window).on('load', function() {
|
||||
var $menu = $('#nav');
|
||||
|
||||
var $menu_simple = $("<ul class=\"simple\"></ul>");
|
||||
$menu.children("ul").each(function(index) {
|
||||
$(this).children("li").each(function(index) {
|
||||
$menu_simple.append($(this).clone());
|
||||
});
|
||||
});
|
||||
|
||||
$menu.append($menu_simple);
|
||||
});
|
||||
|
||||
})(jQuery);
|
Loading…
Add table
Add a link
Reference in a new issue