Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Commit

Permalink
v2.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
andreruffert committed Jan 5, 2018
1 parent 214e2fd commit 5fce8af
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rangeslider.js",
"version": "2.3.1",
"version": "2.3.2",
"homepage": "https://github.com/andreruffert/rangeslider.js",
"authors": [
"André Ruffert <[email protected]>"
Expand Down
6 changes: 5 additions & 1 deletion dist/rangeslider.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! rangeslider.js - v2.3.1 | (c) 2017 @andreruffert | MIT license | https://github.com/andreruffert/rangeslider.js */
/*! rangeslider.js - v2.3.2 | (c) 2018 @andreruffert | MIT license | https://github.com/andreruffert/rangeslider.js */
(function(factory) {
'use strict';

Expand Down Expand Up @@ -317,6 +317,10 @@

Plugin.prototype.handleDown = function(e) {
e.preventDefault();

// Only respond to mouse main button clicks (usually the left button)
if (e.button && e.button !== 0) { return; }

this.$document.on(this.moveEvent, this.handleMove);
this.$document.on(this.endEvent, this.handleEnd);

Expand Down
4 changes: 2 additions & 2 deletions dist/rangeslider.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "rangeslider.js",
"title": "rangeslider.js",
"description": "Simple, small and fast JavaScript/jQuery polyfill for the HTML5 <input type=\"range\"> slider element",
"version": "2.3.1",
"version": "2.3.2",
"codename": "Navy Blue",
"main": "dist/rangeslider.js",
"homepage": "https://github.com/andreruffert/rangeslider.js",
Expand Down

0 comments on commit 5fce8af

Please sign in to comment.