jquery-modal-rails-assets 0.8.0 → 0.8.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 715b0dd8177ba09d5ab2437aa349a49e1de553ae
|
4
|
+
data.tar.gz: 7e8570aade83617d5df20053bafeda9df73ee306
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6a2affe8efa83b07409dfb5f766896b49980bc98ce61f31f5e45e9b159611fbdbbb2aeface18ebe670aa614c0954be0739942bcf74770fa0563cd60d5c03485
|
7
|
+
data.tar.gz: 1ae76c74801f784c699384398538e24ad9762d22d937229b647a2e53c2fc195a26747258eba6679b362598425c6385a8fc82462009c2fa0f5aa2409f696a79ac
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*
|
2
2
|
A simple jQuery modal (http://github.com/kylefox/jquery-modal)
|
3
|
-
Version 0.8.
|
3
|
+
Version 0.8.1
|
4
4
|
*/
|
5
5
|
|
6
6
|
(function (factory) {
|
@@ -178,7 +178,7 @@
|
|
178
178
|
|
179
179
|
//Return context for custom events
|
180
180
|
_ctx: function() {
|
181
|
-
return { elm: this.$elm, $blocker: this.$blocker, options: this.options };
|
181
|
+
return { elm: this.$elm, $elm: this.$elm, $blocker: this.$blocker, options: this.options };
|
182
182
|
}
|
183
183
|
};
|
184
184
|
|
@@ -232,8 +232,8 @@
|
|
232
232
|
};
|
233
233
|
|
234
234
|
// Automatically bind links with rel="modal:close" to, well, close the modal.
|
235
|
-
$(document).on('click.modal', 'a[rel
|
236
|
-
$(document).on('click.modal', 'a[rel
|
235
|
+
$(document).on('click.modal', 'a[rel~="modal:close"]', $.modal.close);
|
236
|
+
$(document).on('click.modal', 'a[rel~="modal:open"]', function(event) {
|
237
237
|
event.preventDefault();
|
238
238
|
$(this).modal();
|
239
239
|
});
|
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.8.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- RogerE
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
version: '0'
|
76
76
|
requirements: []
|
77
77
|
rubyforge_project:
|
78
|
-
rubygems_version: 2.6.
|
78
|
+
rubygems_version: 2.6.12
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Use jQuery Modal with Rails Asset Pipeline
|