Przeglądaj źródła

Attributes: Fix `null` check. (#30694)

Michael Herzog 10 miesięcy temu
rodzic
commit
f760c50d0b
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/renderers/common/Attributes.js

+ 1 - 1
src/renderers/common/Attributes.js

@@ -39,7 +39,7 @@ class Attributes extends DataMap {
 
 
 		const attributeData = super.delete( attribute );
 		const attributeData = super.delete( attribute );
 
 
-		if ( attributeData !== undefined ) {
+		if ( attributeData !== null ) {
 
 
 			this.backend.destroyAttribute( attribute );
 			this.backend.destroyAttribute( attribute );
 
 

粤ICP备19079148号