FIX: Sidebar

This commit is contained in:
Tony Air 2020-01-29 23:08:34 +07:00
parent 0587dc8b1c
commit 881053069d
4 changed files with 7 additions and 3 deletions

2
dist/js/app.js vendored

File diff suppressed because one or more lines are too long

2
dist/js/app.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{
"name": "@a2nt/ss-bootstrap-ui-webpack-boilerplate",
"version": "1.6.3",
"version": "1.6.4",
"author": "Tony Air <tony@twma.pro>",
"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.",

View File

@ -15,6 +15,10 @@ const SidebarUI = (($) => {
const ui = this;
ui.dispose();
if (!$(`.${CLASSNAME}`).length) {
return;
}
console.log(`Initializing: ${NAME}`);
const sticky = new StickySidebar(`.${CLASSNAME}`, {