Skip to content

Commit

Permalink
Updated bower and dist
Browse files Browse the repository at this point in the history
  • Loading branch information
anovi committed Jun 28, 2014
1 parent 621c698 commit 5bab07e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "selectonic",
"title": "Selectonic",
"version": "0.4.3",
"version": "0.4.4",
"description": "jQuery-plugin for making any list of items selectable by mouse and keyboard.",
"homepage": "https://github.com/anovi/selectonic",
"author": {
Expand Down
4 changes: 2 additions & 2 deletions dist/selectonic.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Selectonic - v0.4.3 - 2014-06-18
/*! Selectonic - v0.4.4 - 2014-06-28
* https://github.com/anovi/selectonic
* Copyright (c) 2014 Alexey Novichkov; Licensed MIT */
(function($, window, undefined) {
Expand Down Expand Up @@ -290,7 +290,7 @@
var _this = this, name = this._name;

this._mouseEvent = function(e) {
if ( _this._isEnable ) { _this._mouseHandler.call(_this, e); }
if ( _this._isEnable && e.which === 1) { _this._mouseHandler.call(_this, e); }
};
this._keyboardEvent = function(e) {
if( _this.options.get('keyboard') && _this._isEnable ) { _this._keyHandler.call(_this, e); }
Expand Down
Loading

0 comments on commit 5bab07e

Please sign in to comment.