Skip to content

Commit 8077cfa

Browse files
author
Chris K
committed
Scroll only the function in a function tooltip.
1 parent 140ea7f commit 8077cfa

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

src/ecma-debugger/eventlisteners/evlistenertemplates.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@
114114
"class", "ev-phase"]);
115115
if (listener[LISTENER_SCRIPT_DATA])
116116
{
117-
opera.postError("script data")
118117
ret.push(["dd",
119118
["span", "attribute handler",
120119
"data-tooltip", "js-inspection",

src/ecma-debugger/objectinspection.6.0/inspectiontooltip.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,8 @@ cls.JSInspectionTooltip = function()
144144

145145
var _init = function(view)
146146
{
147-
_tooltip = Tooltips.register(cls.JSInspectionTooltip.tooltip_name, true);
147+
_tooltip = Tooltips.register(cls.JSInspectionTooltip.tooltip_name, true, true,
148+
".js-tooltip-examine-container");
148149
_pretty_printer = new cls.PrettyPrinter();
149150
_pretty_printer.register_types([cls.PrettyPrinter.ELEMENT,
150151
cls.PrettyPrinter.DATE,

src/ui-scripts/tooltip/tooltip.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,6 @@ Tooltips.CSS_TOOLTIP_SELECTED = "tooltip-selected";
294294
{
295295
var max_h = 0;
296296
var max_w = 0;
297-
298297
var max_height_target = tooltip.max_height_target
299298
&& _cur_ctx.tooltip_ele.querySelector(tooltip.max_height_target)
300299
|| _cur_ctx.tooltip_ele;

0 commit comments

Comments
 (0)