mirror of
https://github.com/axllent/mailpit.git
synced 2025-07-07 00:56:31 +02:00
Remove redundant offcanvas mixin
This commit is contained in:
@ -63,16 +63,6 @@ const commonMixins = {
|
||||
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
|
||||
*
|
||||
|
Reference in New Issue
Block a user