Skip to content

Commit

Permalink
bar.js: MouseEvent.buttons is not supported by Safari [Closes #134]
Browse files Browse the repository at this point in the history
This is fix for Firefox, so Safari can be ignored.
  • Loading branch information
dg committed Feb 19, 2016
1 parent 8037533 commit 5496aa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tracy/assets/Bar/bar.js
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@
options = options || {};

var onmousemove = function(e) {
if (!e.buttons) {
if (e.buttons === 0) {
return onmouseup(e);
}
if (!started) {
Expand Down

0 comments on commit 5496aa4

Please sign in to comment.