Skip to content

Update menu.mjs - #3

Open
SohaibBaig1243 wants to merge 1 commit into
marcos-venicius:mainfrom
SohaibBaig1243:main
Open

Update menu.mjs#3
SohaibBaig1243 wants to merge 1 commit into
marcos-venicius:mainfrom
SohaibBaig1243:main

Conversation

@SohaibBaig1243

Copy link
Copy Markdown
Contributor

No description provided.

@SohaibBaig1243

Copy link
Copy Markdown
Contributor Author

I have updated this file

@marcos-venicius marcos-venicius left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs some adjusts

Comment thread js/menu.mjs
window.location.href = href;
}, 20);
};
} 20);

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
} 20);
}, 20);

i think you need a comma here

Comment thread js/menu.mjs
}

export function loadMenu() {
export function loadMenu(){

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
export function loadMenu(){
export function loadMenu() {

my style guides, needs a space after ()

Comment thread js/menu.mjs
const overlay = document.getElementById("overlay");

menu.addEventListener("click", () => {
menu.addEventListener("click", () =>{

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
menu.addEventListener("click", () =>{
menu.addEventListener("click", () => {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants