Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Return so we don't hit the first one #34

Merged
merged 1 commit into from

1 participant

@cameronmcefee

Pull one more part

@cameronmcefee cameronmcefee merged commit 1ba0c2c into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 11, 2012
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 0 deletions.
  1. +2 −0  js/plax.js
View
2  js/plax.js
@@ -139,6 +139,7 @@
topOffset = (plaxActivityTarget.offset() != null) ? plaxActivityTarget.offset().top : 0,
x = e.pageX-leftOffset,
y = e.pageY-topOffset
+
if (
x < 0 || x > plaxActivityTarget.width() ||
y < 0 || y > plaxActivityTarget.height()
@@ -147,6 +148,7 @@
if(moveable()){
if(e.gamma == undefined){
ignoreMoveable = true
+ return
}
values = valuesFromMotion(e)
Something went wrong with that request. Please try again.