jquery-modal-rails-assets 0.9.0 → 0.9.1

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: 1064fe01509ea84f7306fe12cdb6f4af1ddd6a0c
4
- data.tar.gz: eeef735c420494f09442e14a7f6563c911b3fc60
3
+ metadata.gz: 20b1a91b34ea9e6cb884aefad0dda0008ce19630
4
+ data.tar.gz: ada19670c35ae13bf3623da99e5bf7cc16880304
5
5
  SHA512:
6
- metadata.gz: 59e02c3beb74891def32a8c9c3966ac8ff211f2e03c1f4866dfad0a63fb7e760836630d5a14dd1e68093d7b09475ddcb04fcfc8102de762262cc02a65833df37
7
- data.tar.gz: dd3b1a995a41142b84b6fa03d8f88605352c14f5428898f4e7db206e87be8ac729effa43a0fecff9c059627568bbd9a70cee1e6924577d16a64825e31e3b0e61
6
+ metadata.gz: 1580825d8ec348a44e6e8826ceb84d91b90961d6eaa2a9f3efe0ea24011988be88b9e3193b19b9078d7377e177d44e93244cc41dc3d21eb5f5f92ddf4772e750
7
+ data.tar.gz: daa1c97e1805ccee2717b99de6b7e8c9c54e6e17500e191441581be2ee2b630b9edb7153f52dd7961343a5e57f1527ab42b88066c8d727f9d2b545d86059bd3b
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  A simple jQuery modal (http://github.com/kylefox/jquery-modal)
3
- Version 0.9.0
3
+ Version 0.9.1
4
4
  */
5
5
 
6
6
  (function (factory) {
@@ -73,6 +73,7 @@
73
73
  }
74
74
  } else {
75
75
  this.$elm = el;
76
+ this.anchor = el;
76
77
  this.$body.append(this.$elm);
77
78
  this.open();
78
79
  }
@@ -143,9 +144,9 @@
143
144
  }
144
145
  this.$elm.addClass(this.options.modalClass).appendTo(this.$blocker);
145
146
  if(this.options.doFade) {
146
- this.$elm.css('opacity',0).show().animate({opacity: 1}, this.options.fadeDuration);
147
+ this.$elm.css({opacity: 0, display: 'inline-block'}).animate({opacity: 1}, this.options.fadeDuration);
147
148
  } else {
148
- this.$elm.show();
149
+ this.$elm.css('display', 'inline-block');
149
150
  }
150
151
  this.$elm.trigger($.modal.OPEN, [this._ctx()]);
151
152
  },
@@ -21,7 +21,7 @@
21
21
  background-color: transparent;
22
22
  }
23
23
  .modal {
24
- display: inline-block;
24
+ display: none;
25
25
  vertical-align: middle;
26
26
  position: relative;
27
27
  z-index: 2;
@@ -1,3 +1,3 @@
1
1
  module JqueryModalRailsAssets
2
- VERSION = "0.9.0"
2
+ VERSION = "0.9.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jquery-modal-rails-assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - RogerE
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-10-22 00:00:00.000000000 Z
11
+ date: 2017-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler