Fix a code typo in widgets docs.