Browse Source

Minor: Use property id when possible

Michael Ragazzon 2 years ago
parent
commit
ec2bb19433
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/Core/Elements/ElementFormControl.cpp

+ 1 - 1
Source/Core/Elements/ElementFormControl.cpp

@@ -83,7 +83,7 @@ void ElementFormControl::OnAttributeChange(const ElementAttributes& changed_attr
 			Blur();
 		}
 		else
-			RemoveProperty("focus");
+			RemoveProperty(PropertyId::Focus);
 	}
 }