blacklight 7.22.0 → 7.22.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/app/assets/javascripts/blacklight/blacklight.js +2 -2
- data/app/javascript/blacklight/modal.js +2 -2
- data/package.json +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6db63ed11099851dc7e85c6d2e9e6ec15d39b6a4baec81545625f6362f7eafb7
|
4
|
+
data.tar.gz: 35c166e0e26c7e6cbfaf8775338677e3968d91f3ad07335c2cc08f92a710b5f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d24a44e67f15f30fb674da5102a7ad48401172da23bddaed461f220805429d4816e6912ffe7a069683d4ee2710e478d2e75ab43ff88ddf4caf2f3349ce1a7830
|
7
|
+
data.tar.gz: 25e2ad757ecc09eb6b5c3243b012f963894f6829314a7db86393ea4ec826b4b5deb4aeb79ad55cb1084a5043f9e33f39de3640638ce6e8a16f8377ceeea623a3
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
7.22.
|
1
|
+
7.22.1
|
@@ -442,7 +442,7 @@ Blacklight.modal.checkCloseModal = function (event) {
|
|
442
442
|
|
443
443
|
Blacklight.modal.hide = function (el) {
|
444
444
|
if (bootstrap.Modal.VERSION >= "5") {
|
445
|
-
bootstrap.Modal.getOrCreateInstance(el).hide();
|
445
|
+
bootstrap.Modal.getOrCreateInstance(el || document.querySelector(Blacklight.modal.modalSelector)).hide();
|
446
446
|
} else {
|
447
447
|
$(el || Blacklight.modal.modalSelector).modal('hide');
|
448
448
|
}
|
@@ -450,7 +450,7 @@ Blacklight.modal.hide = function (el) {
|
|
450
450
|
|
451
451
|
Blacklight.modal.show = function (el) {
|
452
452
|
if (bootstrap.Modal.VERSION >= "5") {
|
453
|
-
bootstrap.Modal.getOrCreateInstance(el).show();
|
453
|
+
bootstrap.Modal.getOrCreateInstance(el || document.querySelector(Blacklight.modal.modalSelector)).show();
|
454
454
|
} else {
|
455
455
|
$(el || Blacklight.modal.modalSelector).modal('show');
|
456
456
|
}
|
@@ -207,7 +207,7 @@ Blacklight.modal.checkCloseModal = function(event) {
|
|
207
207
|
|
208
208
|
Blacklight.modal.hide = function(el) {
|
209
209
|
if (bootstrap.Modal.VERSION >= "5") {
|
210
|
-
bootstrap.Modal.getOrCreateInstance(el).hide();
|
210
|
+
bootstrap.Modal.getOrCreateInstance(el || document.querySelector(Blacklight.modal.modalSelector)).hide();
|
211
211
|
} else {
|
212
212
|
$(el || Blacklight.modal.modalSelector).modal('hide');
|
213
213
|
}
|
@@ -215,7 +215,7 @@ Blacklight.modal.hide = function(el) {
|
|
215
215
|
|
216
216
|
Blacklight.modal.show = function(el) {
|
217
217
|
if (bootstrap.Modal.VERSION >= "5") {
|
218
|
-
bootstrap.Modal.getOrCreateInstance(el).show();
|
218
|
+
bootstrap.Modal.getOrCreateInstance(el || document.querySelector(Blacklight.modal.modalSelector)).show();
|
219
219
|
} else {
|
220
220
|
$(el || Blacklight.modal.modalSelector).modal('show');
|
221
221
|
}
|
data/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "blacklight-frontend",
|
3
|
-
"version": "7.
|
3
|
+
"version": "7.22.0",
|
4
4
|
"description": "[![Build Status](https://travis-ci.com/projectblacklight/blacklight.png?branch=main)](https://travis-ci.com/projectblacklight/blacklight) [![Gem Version](https://badge.fury.io/rb/blacklight.png)](http://badge.fury.io/rb/blacklight) [![Coverage Status](https://coveralls.io/repos/github/projectblacklight/blacklight/badge.svg?branch=main)](https://coveralls.io/github/projectblacklight/blacklight?branch=main)",
|
5
5
|
"main": "app/assets/javascripts/blacklight",
|
6
6
|
"scripts": {
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blacklight
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.22.
|
4
|
+
version: 7.22.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Rochkind
|
@@ -17,7 +17,7 @@ authors:
|
|
17
17
|
autorequire:
|
18
18
|
bindir: exe
|
19
19
|
cert_chain: []
|
20
|
-
date: 2021-12-
|
20
|
+
date: 2021-12-04 00:00:00.000000000 Z
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
23
23
|
name: rails
|