mirror of
https://github.com/axllent/mailpit.git
synced 2025-07-13 01:20:22 +02:00
Remove redundant offcanvas mixin
This commit is contained in:
@ -63,16 +63,6 @@ const commonMixins = {
|
|||||||
return new FakeModal();
|
return new FakeModal();
|
||||||
},
|
},
|
||||||
|
|
||||||
// generic modal get/set function
|
|
||||||
offcanvas: function (id) {
|
|
||||||
var e = document.getElementById(id);
|
|
||||||
if (e) {
|
|
||||||
return bootstrap.Offcanvas.getOrCreateInstance(e);
|
|
||||||
}
|
|
||||||
// in case there are open/close actions
|
|
||||||
return new FakeModal();
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Axios GET request
|
* Axios GET request
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user