Skip to content
Snippets Groups Projects
Commit 0a9861fa authored by Sofiane Lasri's avatar Sofiane Lasri
Browse files

menu-comm

parent a45bf2d2
No related branches found
No related tags found
No related merge requests found
File moved
......@@ -21,10 +21,10 @@
Carte du monde
</a>
</li>
<li id="menu-realms">
<li id="menu-comm">
<a href="#" class="nav-link" onmouseover="animatedIcon(this, 'enter')" onmouseout="animatedIcon(this, 'leave')">
<i class="nav-icon">
<img src="<?=getWebsiteSetting("websiteUrl")?>data/images/navbar/menu-realms.svg" alt="Community icon">
<img src="<?=getWebsiteSetting("websiteUrl")?>data/images/navbar/menu-comm.svg" alt="Community icon">
</i>
Communauté
</a>
......@@ -53,14 +53,6 @@
<script type="text/javascript">
const joinServerIcon = document.getElementById('joinServerIcon');
joinServerIcon.addEventListener('mouseenter', e => {
animatedIcon("joinServerIcon", "enter");
});
joinServerIcon.addEventListener('mouseleave', e => {
animatedIcon("joinServerIcon", "leave");
});
function animatedIcon(object.id, action){
console.log($("#"+id).find("img").html());
if(action == 'enter'){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment