Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit 37f591b

Browse files
committed
style(jshint): curly braces for if statements
1 parent 7d6145f commit 37f591b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/rangeslider.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -316,10 +316,10 @@
316316

317317
Plugin.prototype.handleDown = function(e) {
318318
e.preventDefault();
319-
319+
320320
// Only respond to mouse main button clicks (usually the left button)
321-
if (e.button && e.button !== 0) return;
322-
321+
if (e.button && e.button !== 0) { return; }
322+
323323
this.$document.on(this.moveEvent, this.handleMove);
324324
this.$document.on(this.endEvent, this.handleEnd);
325325

0 commit comments

Comments
 (0)