Skip to content

bhdoggett re-reddit#223

Open
bhdoggett wants to merge 15 commits intoprojectshft:masterfrom
bhdoggett:master
Open

bhdoggett re-reddit#223
bhdoggett wants to merge 15 commits intoprojectshft:masterfrom
bhdoggett:master

Conversation

@bhdoggett
Copy link

No description provided.

…ate for comments under subsequent posts. Also refacotor to localise the comment render only to the post in which the comments are added.
…iate sections on and off. Comment section and Udpate Post section will both toggle off the Add Post Form, and they will each toggle one another on and off (while keeping the Add Post Form toggled off). When both the comment section and update post section are toggled off, the Add Post form returns.
@@ -0,0 +1,15 @@
.show {

Choose a reason for hiding this comment

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

almost all these classes you could have used bootstrap classes
d-none, d-block, or text-danger

Comment on lines +61 to +62
!document.getElementById("name").value ||
!document.getElementById("message").value

Choose a reason for hiding this comment

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

dry!, this can be moved to a function

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.

3 participants

Comments