Skip to content

Commit a924b52

Browse files
authored
Merge pull request #18 from oslabs-beta/staging
Staging
2 parents 3ff6a8a + a6ce22b commit a924b52

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/app/containers/ActionContainer.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ function ActionContainer() {
5858
// enter key pressed
5959
else if (e.keyCode === 13) {
6060
e.stopPropagation();
61+
e.preventDefault(); // needed or will trigger onClick right after
6162
dispatch(changeSlider(currIndex));
6263
}
6364
}

0 commit comments

Comments
 (0)