summaryrefslogtreecommitdiff
path: root/devtools/client/shared/autocomplete-popup.js
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/shared/autocomplete-popup.js')
-rw-r--r--devtools/client/shared/autocomplete-popup.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/devtools/client/shared/autocomplete-popup.js b/devtools/client/shared/autocomplete-popup.js
index b22de4d992..e848f6c1fd 100644
--- a/devtools/client/shared/autocomplete-popup.js
+++ b/devtools/client/shared/autocomplete-popup.js
@@ -283,7 +283,7 @@ AutocompletePopup.prototype = {
return;
}
- let {top, height} = quads[0].bounds;
+ let {top, height} = quads[0].getBounds();
let containerHeight = this._tooltip.panel.getBoundingClientRect().height;
if (top < 0) {
// Element is above container.