We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1dc225 commit 37ca3bbCopy full SHA for 37ca3bb
src/BootstrapBlazor/Components/Layout/LayoutSplitebar.razor.js
@@ -10,6 +10,11 @@ export function init(id) {
10
const max = parseFloat(el.getAttribute("data-bb-max") ?? "-1");
11
const selector = el.getAttribute("data-bb-selector") ?? ".layout";
12
const section = document.querySelector(selector);
13
+ if (section === null) {
14
+ log.warning(`LayoutSplitebar: selector ${selector} not found`);
15
+ return;
16
+ }
17
+
18
const bar = el.querySelector(".layout-splitebar-body");
19
let originX = 0;
20
let width = 0;
0 commit comments