X-Git-Url: http://git.euphorik.ch/?p=euphorik.git;a=blobdiff_plain;f=js%2Feuphorik.js;h=86982db0694d9a8b83b59f6ce399d88485880496;hp=36a2f06de77d99f6d7eb95da3ddf217698cb1c0c;hb=4a510de0c99d080cdd3ecc837307ac8ee3509e87;hpb=c5b1b9cbaf5426f2e46245e2b47088ec613d33b9 diff --git a/js/euphorik.js b/js/euphorik.js index 36a2f06..86982db 100755 --- a/js/euphorik.js +++ b/js/euphorik.js @@ -247,8 +247,8 @@ Pages.prototype.afficherPage = function(nomPage, forcerChargement) if (this.pageCourante != null && this.pageCourante.decharger) this.pageCourante.decharger() - $("#menu div").removeClass("courante") - $("#menu div." + nomPage).addClass("courante") + $("#menu li").removeClass("courante") + $("#menu li." + nomPage).addClass("courante") this.pageCourante = page $("#page").html(this.pageCourante.contenu()).removeClass().addClass(this.pageCourante.nom) @@ -1003,4 +1003,4 @@ $(document).ready( pages.ajouterPage(new PageAbout(client, formateur, util)) pages.afficherPage("minichat") } -) \ No newline at end of file +)