Skip to content

Commit

Permalink
Fixed broken select
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarno Kurlin committed Oct 1, 2012
1 parent ca9087b commit 99806ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/common/SelectionManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ function SelectionManager() {
var hoverListener = t.getHoverListener();
var reportDayClick = t.reportDayClick; // this is hacky and sort of weird
var row;
var resources = opt('resources');
var resources = t.getResources;

var viewName = getViewName();
if (ev.which == 1 && opt('selectable')) { // which==1 means left mouse button
unselect(ev);
Expand Down

0 comments on commit 99806ee

Please sign in to comment.