They selected foxes that maintained youthful traits into adulthood.
In the book “A Troublesome Inheritance”, the author makes the case that selection on youthful traits is responsible not only for domestication in animals but civilization in humans. City life forces us to be a lot less territorial and violent towards non-family members than when our ancestors were hunter-gatherers wandering wide open spaces.