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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 41d4e3854b03704844a5d1a0fec278e4df14781b
4
- data.tar.gz: c64044d91df14b35e41a67bf34d5e0facf06ac23
3
+ metadata.gz: 06255966644471a046becbcd3efe8f01b23314e1
4
+ data.tar.gz: 78457000495fa4ea7ffde1db75fbaba6530de2f8
5
5
  SHA512:
6
- metadata.gz: bf23112a8778f586013c1c0e42785d754467a4b9a07b3a0c7ae019daa823e3d04aa8755112080191bddcf4980f1df56f8b64e41368fbf992012b4e912a40d791
7
- data.tar.gz: c0075fca72b1b260b90f0d8ce4cf41818035e991976607b4c11ddd363f637f1a725f5cca2846f1df04d75f325cc07a5e34ab60a37457fe1ce8d5f5a4500d1dfd
6
+ metadata.gz: f4591e51affe6f41ed726df8081cfdd6a6b6935ff3f90a037e45d640835276a9c67b824bccf45b9911a31cbc9aab841a99ee5d608d17a3937f09870511d4c0f1
7
+ data.tar.gz: 3cef415093c2dea80cb3b3b0984d6633a9fab25e8807b173f9efd964db0c9c7071fc9ef9a6f14a7b256227a57942cfaa0f090ebbf23675c2c3f69c6628af0736
@@ -1,5 +1,5 @@
1
1
  module Neilin
2
2
  module Rails
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
@@ -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();
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neilin-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Neil Marion dela Cruz