mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-03 06:27:02 +03:00
Cleanup CSS and JS code
This commit is contained in:
parent
0eea2cb5ad
commit
6c75dd12f8
19 changed files with 82 additions and 146 deletions
9
vendors/inputosaurus/inputosaurus.js
vendored
9
vendors/inputosaurus/inputosaurus.js
vendored
|
|
@ -12,10 +12,9 @@
|
|||
* @modified by DJMaze
|
||||
*/
|
||||
|
||||
(() => {
|
||||
(doc => {
|
||||
|
||||
const doc = document,
|
||||
createEl = (name, attr) => {
|
||||
const createEl = (name, attr) => {
|
||||
let el = doc.createElement(name);
|
||||
attr && Object.entries(attr).forEach(([k,v]) => el.setAttribute(k,v));
|
||||
return el;
|
||||
|
|
@ -29,7 +28,7 @@ doc.body.append(fakeSpan, datalist);
|
|||
|
||||
let dragData;
|
||||
|
||||
window.Inputosaurus = class {
|
||||
this.Inputosaurus = class {
|
||||
|
||||
constructor(element, options) {
|
||||
|
||||
|
|
@ -500,4 +499,4 @@ window.Inputosaurus = class {
|
|||
}
|
||||
};
|
||||
|
||||
})();
|
||||
})(document);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue