FIX: Sidebar
This commit is contained in:
parent
0587dc8b1c
commit
881053069d
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@a2nt/ss-bootstrap-ui-webpack-boilerplate",
|
"name": "@a2nt/ss-bootstrap-ui-webpack-boilerplate",
|
||||||
"version": "1.6.3",
|
"version": "1.6.4",
|
||||||
"author": "Tony Air <tony@twma.pro>",
|
"author": "Tony Air <tony@twma.pro>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"description": "This UI Kit allows you to build Bootstrap 4 webapp with some extra UI features. It's easy to extend and easy to convert HTML templates to CMS templates.",
|
"description": "This UI Kit allows you to build Bootstrap 4 webapp with some extra UI features. It's easy to extend and easy to convert HTML templates to CMS templates.",
|
||||||
|
|
|
@ -15,6 +15,10 @@ const SidebarUI = (($) => {
|
||||||
const ui = this;
|
const ui = this;
|
||||||
ui.dispose();
|
ui.dispose();
|
||||||
|
|
||||||
|
if (!$(`.${CLASSNAME}`).length) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
console.log(`Initializing: ${NAME}`);
|
console.log(`Initializing: ${NAME}`);
|
||||||
|
|
||||||
const sticky = new StickySidebar(`.${CLASSNAME}`, {
|
const sticky = new StickySidebar(`.${CLASSNAME}`, {
|
||||||
|
|
Loading…
Reference in New Issue