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

Commit 5fce8af

Browse files
committed
v2.3.2
1 parent 214e2fd commit 5fce8af

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rangeslider.js",
3-
"version": "2.3.1",
3+
"version": "2.3.2",
44
"homepage": "https://github.com/andreruffert/rangeslider.js",
55
"authors": [
66
"André Ruffert <[email protected]>"

dist/rangeslider.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! rangeslider.js - v2.3.1 | (c) 2017 @andreruffert | MIT license | https://github.com/andreruffert/rangeslider.js */
1+
/*! rangeslider.js - v2.3.2 | (c) 2018 @andreruffert | MIT license | https://github.com/andreruffert/rangeslider.js */
22
(function(factory) {
33
'use strict';
44

@@ -317,6 +317,10 @@
317317

318318
Plugin.prototype.handleDown = function(e) {
319319
e.preventDefault();
320+
321+
// Only respond to mouse main button clicks (usually the left button)
322+
if (e.button && e.button !== 0) { return; }
323+
320324
this.$document.on(this.moveEvent, this.handleMove);
321325
this.$document.on(this.endEvent, this.handleEnd);
322326

dist/rangeslider.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "rangeslider.js",
33
"title": "rangeslider.js",
44
"description": "Simple, small and fast JavaScript/jQuery polyfill for the HTML5 <input type=\"range\"> slider element",
5-
"version": "2.3.1",
5+
"version": "2.3.2",
66
"codename": "Navy Blue",
77
"main": "dist/rangeslider.js",
88
"homepage": "https://github.com/andreruffert/rangeslider.js",

0 commit comments

Comments
 (0)