Skip to content

Commit

Permalink
Merge branch 'dev' into test
Browse files Browse the repository at this point in the history
  • Loading branch information
vgiorgi committed Jun 25, 2024
2 parents 34ccbd3 + e65f84b commit 0ba2e5a
Show file tree
Hide file tree
Showing 156 changed files with 5,127 additions and 1,895 deletions.
2 changes: 1 addition & 1 deletion assets/js/aviato-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ aviato.bind = function(selector) {
aviato.on.click(this);
});

if (this.offcanvas === undefined) {
if (typeof(bootstrap) === 'object' && this.offcanvas === undefined) {
this.offcanvas = new bootstrap.Offcanvas(document.getElementById('offcanvas'));
document.getElementById('offcanvas').addEventListener('hidden.bs.offcanvas', function() {
$('#alerts').html('');
Expand Down
2 changes: 1 addition & 1 deletion assets/js/aviato.js
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ aviato.bind = function(selector) {
aviato.on.click(this);
});

if (this.offcanvas === undefined) {
if (typeof(bootstrap) === 'object' && this.offcanvas === undefined) {
this.offcanvas = new bootstrap.Offcanvas(document.getElementById('offcanvas'));
document.getElementById('offcanvas').addEventListener('hidden.bs.offcanvas', function() {
$('#alerts').html('');
Expand Down
3 changes: 3 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Changelog
---

>## v1.24.10
> - fix aviato.js missing bootstrap object on bind
>## v1.24.09
> - Avi\Db insert select
Expand Down
Loading

0 comments on commit 0ba2e5a

Please sign in to comment.