From 2b16f5c5100c8a42bccad028903eadac2875e20c Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Sat, 4 Jun 2016 14:28:34 -0700 Subject: Update ESLint to v2.5.3 (#20043) Refs #19908. [skip sauce] [skip validator] --- js/src/carousel.js | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'js/src/carousel.js') diff --git a/js/src/carousel.js b/js/src/carousel.js index f990c699a..e24aed08f 100644 --- a/js/src/carousel.js +++ b/js/src/carousel.js @@ -238,9 +238,14 @@ const Carousel = (($) => { } switch (event.which) { - case ARROW_LEFT_KEYCODE: this.prev(); break - case ARROW_RIGHT_KEYCODE: this.next(); break - default: return + case ARROW_LEFT_KEYCODE: + this.prev() + break + case ARROW_RIGHT_KEYCODE: + this.next() + break + default: + return } } -- cgit v1.2.3