Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Allow pressing anywhere on the docoument to trigger resizing

Better UX when your mouse cursor moves over the iframe while resizing
  • Loading branch information...
commit 1a159b114641fdb88d02e9c17bed455500c8471d 1 parent ceb75ff
@beaucollins authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  public/app.js
2  public/app.js
@@ -179,7 +179,7 @@ var Slider = function(frame, options){
document.addEventListener('mousemove', detector);
- section.addEventListener('mousedown', down);
+ document.addEventListener('mousedown', down);
document.body.addEventListener('mouseup', release);
Please sign in to comment.
Something went wrong with that request. Please try again.