1
0
mirror of https://github.com/axllent/mailpit.git synced 2025-01-30 04:30:56 +02:00

Remove redundant offcanvas mixin

This commit is contained in:
Ralph Slooten 2022-12-03 17:21:51 +13:00
parent 2c3c436fc1
commit 06aa7a2dea

View File

@ -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
*