neilin-rails 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/neilin/rails/version.rb +1 -1
- data/vendor/assets/javascripts/neilin.js +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 06255966644471a046becbcd3efe8f01b23314e1
|
4
|
+
data.tar.gz: 78457000495fa4ea7ffde1db75fbaba6530de2f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4591e51affe6f41ed726df8081cfdd6a6b6935ff3f90a037e45d640835276a9c67b824bccf45b9911a31cbc9aab841a99ee5d608d17a3937f09870511d4c0f1
|
7
|
+
data.tar.gz: 3cef415093c2dea80cb3b3b0984d6633a9fab25e8807b173f9efd964db0c9c7071fc9ef9a6f14a7b256227a57942cfaa0f090ebbf23675c2c3f69c6628af0736
|
data/lib/neilin/rails/version.rb
CHANGED
@@ -59,8 +59,8 @@ Neilin.Selector.mouseup = function(e){
|
|
59
59
|
|
60
60
|
if(window.startX + window.startY != window.endX + window.endY && st!='') {
|
61
61
|
xy = computeXY();
|
62
|
-
$(".popup").css({"left": xy['x']-40, "top": xy['y']-45});
|
63
|
-
$(".popup").show().animate({ top: xy['y']-65}, {duration: 500, easing: 'easeOutElastic'})
|
62
|
+
$(".popup").css({"left": pageXOffset + xy['x']-40, "top": pageYOffset + xy['y']-45});
|
63
|
+
$(".popup").show().animate({ top: pageYOffset + xy['y']-65}, {duration: 500, easing: 'easeOutElastic'})
|
64
64
|
|
65
65
|
} else {
|
66
66
|
$(".popup").hide();
|