diff --git a/content/xul/content/src/nsXULElement.cpp b/content/xul/content/src/nsXULElement.cpp index 973311b0164..a7990cf51f7 100644 --- a/content/xul/content/src/nsXULElement.cpp +++ b/content/xul/content/src/nsXULElement.cpp @@ -4316,7 +4316,7 @@ nsXULElement::GetPersist(nsAString& aAttr) nsresult nsXULElement::SetPersist(const nsAString& aAttr) { - SetAttribute(NS_LITERAL_STRING("maxheight"), aAttr); + SetAttribute(NS_LITERAL_STRING("persist"), aAttr); return NS_OK; }