@iankibetsh/shframework 2.0.8 → 2.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/library.js +1 -1
- package/dist/library.mjs +1 -1
- package/package.json +1 -1
package/dist/library.js
CHANGED
|
@@ -3661,7 +3661,7 @@ const canvasSide = vue.ref(pos.value ? `offcanvas-${pos.value}` : 'offcanvas-st
|
|
|
3661
3661
|
|
|
3662
3662
|
vue.onMounted(()=>{
|
|
3663
3663
|
const canvas = document.getElementById(props.canvasId);
|
|
3664
|
-
canvas.addEventListener('hidden.bs.offcanvas', event => {
|
|
3664
|
+
canvas && canvas.addEventListener('hidden.bs.offcanvas', event => {
|
|
3665
3665
|
event.target.id === props.canvasId && emit('canvasClosed');
|
|
3666
3666
|
});
|
|
3667
3667
|
});
|
package/dist/library.mjs
CHANGED
|
@@ -3649,7 +3649,7 @@ const canvasSide = ref(pos.value ? `offcanvas-${pos.value}` : 'offcanvas-start'
|
|
|
3649
3649
|
|
|
3650
3650
|
onMounted(()=>{
|
|
3651
3651
|
const canvas = document.getElementById(props.canvasId);
|
|
3652
|
-
canvas.addEventListener('hidden.bs.offcanvas', event => {
|
|
3652
|
+
canvas && canvas.addEventListener('hidden.bs.offcanvas', event => {
|
|
3653
3653
|
event.target.id === props.canvasId && emit('canvasClosed');
|
|
3654
3654
|
});
|
|
3655
3655
|
});
|