mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Small fixes
This commit is contained in:
parent
0f6b70f63e
commit
425f0ee3f6
11 changed files with 5608 additions and 5457 deletions
|
|
@ -1455,6 +1455,15 @@ export function mimeContentType(fileName)
|
|||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string} color
|
||||
* @returns {boolean}
|
||||
*/
|
||||
export function isTransparent(color)
|
||||
{
|
||||
return 'rgba(0, 0, 0, 0)' === color || 'transparent' === color;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {Object} $el
|
||||
* @returns {number}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue