mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
fix: equal
This commit is contained in:
parent
ab7a07a318
commit
49d1c5140e
@ -122,7 +122,7 @@ function isAttributeType(type) {
|
|||||||
|
|
||||||
function isAttributeDangerous(type, name) {
|
function isAttributeDangerous(type, name) {
|
||||||
return BUILTIN_ATTRIBUTES.some(attr =>
|
return BUILTIN_ATTRIBUTES.some(attr =>
|
||||||
attr.type === attr.type &&
|
attr.type === type &&
|
||||||
attr.name.toLowerCase() === name.trim().toLowerCase() &&
|
attr.name.toLowerCase() === name.trim().toLowerCase() &&
|
||||||
attr.isDangerous
|
attr.isDangerous
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user