mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +01:00
Fix an issue where the first click on the profile menu collapse link could be swallowed
Summary: `alterClass()` is strict about true/false but we set 0/1 elsewhere. Test Plan: Collapsed/expanded menu, reloaded expanded menu, clicked collapse, got immediate collapse. Reviewers: chad Reviewed By: chad Differential Revision: https://secure.phabricator.com/D15087
This commit is contained in:
parent
1eec747123
commit
12a8726783
1 changed files with 1 additions and 1 deletions
|
@ -382,7 +382,7 @@ abstract class PhabricatorProfilePanelEngine extends Phobject {
|
|||
array(
|
||||
'menuID' => $nav->getMainID(),
|
||||
'collapseID' => $collapse_id,
|
||||
'isCollapsed' => $is_collapsed,
|
||||
'isCollapsed' => (bool)$is_collapsed,
|
||||
'settingsURI' => $settings_uri,
|
||||
));
|
||||
|
||||
|
|
Loading…
Reference in a new issue