blacklight-frontend
Advanced tools
Comparing version 7.22.0 to 7.22.1
@@ -445,3 +445,3 @@ "use strict"; | ||
if (bootstrap.Modal.VERSION >= "5") { | ||
bootstrap.Modal.getOrCreateInstance(el).hide(); | ||
bootstrap.Modal.getOrCreateInstance(el || document.querySelector(Blacklight.modal.modalSelector)).hide(); | ||
} else { | ||
@@ -454,3 +454,3 @@ $(el || Blacklight.modal.modalSelector).modal('hide'); | ||
if (bootstrap.Modal.VERSION >= "5") { | ||
bootstrap.Modal.getOrCreateInstance(el).show(); | ||
bootstrap.Modal.getOrCreateInstance(el || document.querySelector(Blacklight.modal.modalSelector)).show(); | ||
} else { | ||
@@ -457,0 +457,0 @@ $(el || Blacklight.modal.modalSelector).modal('show'); |
@@ -210,3 +210,3 @@ /* | ||
if (bootstrap.Modal.VERSION >= "5") { | ||
bootstrap.Modal.getOrCreateInstance(el).hide(); | ||
bootstrap.Modal.getOrCreateInstance(el || document.querySelector(Blacklight.modal.modalSelector)).hide(); | ||
} else { | ||
@@ -219,3 +219,3 @@ $(el || Blacklight.modal.modalSelector).modal('hide'); | ||
if (bootstrap.Modal.VERSION >= "5") { | ||
bootstrap.Modal.getOrCreateInstance(el).show(); | ||
bootstrap.Modal.getOrCreateInstance(el || document.querySelector(Blacklight.modal.modalSelector)).show(); | ||
} else { | ||
@@ -222,0 +222,0 @@ $(el || Blacklight.modal.modalSelector).modal('show'); |
{ | ||
"name": "blacklight-frontend", | ||
"version": "7.22.0", | ||
"version": "7.22.1", | ||
"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,0 +5,0 @@ "main": "app/assets/javascripts/blacklight", |
65674