Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Pauan committed Sep 28, 2015
1 parent c232b36 commit 1d10fee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/data/AutoScroll.js
Original file line number Diff line number Diff line change
Expand Up @@ -454,8 +454,8 @@ chrome.storage.local.get(defaults, function (options) {
stopEvent(e)

} else {
if (((e.button === 1 && options.middleClick) ||
(e.button === 0 && (e.ctrlKey || e.metaKey) && options.ctrlClick)) &&
if (((e.button === 1 && options["middleClick"]) ||
(e.button === 0 && (e.ctrlKey || e.metaKey) && options["ctrlClick"])) &&
e.clientX < htmlNode.clientWidth &&
isValid(e.target)) {

Expand Down

0 comments on commit 1d10fee

Please sign in to comment.