Skip to content

Commit

Permalink
Merge pull request #173 from alanswanson/master
Browse files Browse the repository at this point in the history
js/CGP: Disable page refesh when scrolling or zooming a graph
  • Loading branch information
pommi authored Feb 23, 2021
2 parents fd8fa70 + f1c36ce commit 5daa8b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/CGP.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ var CGP = (function() {
} catch (ex) {
console.error('mouse_move:', ex, ex.stack);
}
window.stop();
}
};
var mouse_up = function(e) {
Expand Down Expand Up @@ -55,6 +56,7 @@ var CGP = (function() {
} catch (ex) {
console.error('mouse_scroll:', ex, ex.stack);
}
window.stop();
}

if (e.stopPropagation)
Expand Down

0 comments on commit 5daa8b3

Please sign in to comment.