server-generated-popups 1.1.7 → 1.1.8

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: 6c4fc6bc2ea226731700a9b184b4824f074a13e7
4
- data.tar.gz: 028cd3bd86053265d796bda23f17dd2f877b146b
3
+ metadata.gz: 56b73807e28067c336596dbdeb473e86c5c48914
4
+ data.tar.gz: 93061539edc755131257f617cce53cfffc9e114e
5
5
  SHA512:
6
- metadata.gz: 7925e5191b8a7047fbd474038f3712f3f6e0547f3d6ffdf2407d20bb7afcbc31bb84ee11c517bb1327d87cdf3e4cbbfbb9175c0c7ab8a3073aba9b5986889e5c
7
- data.tar.gz: 37b5afdfb97208c1c58090190308771675b0837a610881fa4c1395038ca8dfbad283ff6ea0d215b2c8e145ab454072153d06302717afda3554d088ca4dfae756
6
+ metadata.gz: 0f443e807888e473e8ab5141d57951a5fff9bff7ef4db10168704ea62a8cf54832460297341c172d782d7991e4c239fb7eea1b171bffb82b909e861d4aa12ac7
7
+ data.tar.gz: 53133314ec360923dc25b3d3bc376d7ac7d041ea40292d144e122a0c345b7923b17c391cdc5e9f640befbafb1026580ee5d21ca8da4bf370185a2ef31868760c
@@ -23,13 +23,13 @@ PopupClass.prototype.move = function (from, to, callback) {
23
23
 
24
24
  PopupClass.prototype.show = function (direction, callback) {
25
25
  $('body').append(this.popupWindow)
26
- startFrom = (direction == 'up') ? '150%' : '-50%'
26
+ startFrom = (direction == 'up') ? '180%' : '-80%'
27
27
  this.move(startFrom, this.distanceFromTop, callback)
28
28
  return this;
29
29
  }
30
30
  PopupClass.prototype.hide = function (direction) {
31
- moveTo = (direction == 'down') ? '150%' : '-50%'
31
+ moveTo = (direction == 'down') ? '180%' : '-80%'
32
32
  this.move(this.distanceFromTop, moveTo, function () {
33
- this.popupWindow.remove()
33
+ this.remove() // this == $('.popup') here
34
34
  })
35
35
  }
@@ -12,5 +12,5 @@ Gem::Specification.new do |gem|
12
12
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
13
13
  gem.name = "server-generated-popups"
14
14
  gem.require_paths = ["lib"]
15
- gem.version = "1.1.7"
15
+ gem.version = "1.1.8"
16
16
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: server-generated-popups
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.7
4
+ version: 1.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anton Khamets