mirror of
https://github.com/google/blockly.git
synced 2026-01-09 18:10:08 +01:00
Call onHide before clearing content (#3131)
This commit is contained in:
@@ -570,12 +570,12 @@ Blockly.DropDownDiv.hideWithoutAnimation = function() {
|
||||
div.style.opacity = 0;
|
||||
div.style.display = 'none';
|
||||
|
||||
Blockly.DropDownDiv.clearContent();
|
||||
Blockly.DropDownDiv.owner_ = null;
|
||||
if (Blockly.DropDownDiv.onHide_) {
|
||||
Blockly.DropDownDiv.onHide_();
|
||||
Blockly.DropDownDiv.onHide_ = null;
|
||||
}
|
||||
Blockly.DropDownDiv.clearContent();
|
||||
Blockly.DropDownDiv.owner_ = null;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user