bug on config

This commit is contained in:
Paul Schneider 2021-08-13 18:55:25 +01:00
commit 5f0dfee768
7 changed files with 12 additions and 30 deletions

View file

@ -31,7 +31,7 @@
.ok {
font-weight: bolder;
color: white;
background-color: black;
background-color: #009220;
}
@ -49,4 +49,4 @@
.ok a:hover {
color: rgb(119, 255, 255);
background-color: black;
}
}

View file

@ -1,4 +1,5 @@

@import "../lib/bootstrap/scss/bootstrap";
.body-container {
margin-top: 60px;
@ -48,6 +49,4 @@ $theme-colors: (
"danger": #ff4136
);
@import "../lib/bootstrap/scss/bootstrap";

View file

@ -1505,7 +1505,7 @@
var _config = _objectSpread2({}, Default$1, {}, $this.data(), {}, typeof config === 'object' && config ? config : {});
if (!data && _config.toggle && /show|hide/.test(config)) {
if (typeof config !== 'string' || !data && _config.toggle && /show|hide/.test(config)) {
_config.toggle = false;
}