Skip to content

Commit 4780de6

Browse files
author
Daniel Herzog
committed
Cleanup
1 parent a1a3db0 commit 4780de6

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

src/network/network_details_templates.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ templates._header_token_templ = function(state, token)
176176
{
177177
if (token[TYPE] === cls.HTTPHeaderTokenizer.types.NAME)
178178
{
179-
attrs.extend(["data-spec", "http#" + token[STR].trim(), "data-tooltip", "network-header-tooltip"]);
179+
attrs.extend(["data-spec", "http#" + token[STR].trim()]);
180180
}
181181
else if (token[TYPE] === cls.HTTPHeaderTokenizer.types.FIRST_LINE_PART)
182182
{
@@ -327,7 +327,6 @@ templates._headers_pseudo_raw = function(header)
327327
["span", header.name,
328328
"data-spec", "http#" + header.name.trim(),
329329
"class", cls.HTTPHeaderTokenizer.classnames[cls.HTTPHeaderTokenizer.types.NAME],
330-
"data-tooltip", "network-header-tooltip",
331330
"data-header-name", header.name.trim().toLowerCase()
332331
],
333332
": " + header.value + "\n"

src/network/network_view.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -410,11 +410,6 @@ cls.NetworkLogView = function(id, name, container_class, html, default_handler,
410410
}
411411
}.bind(this);
412412

413-
this._on_header_tooltip_bound = function(evt, target)
414-
{
415-
// console.log("_on_header_tooltip_bound", evt, target);
416-
}.bind(this);
417-
418413
this._update_mono_lineheight = function()
419414
{
420415
this.mono_lineheight = window.defaults["js-source-line-height"];
@@ -428,9 +423,6 @@ cls.NetworkLogView = function(id, name, container_class, html, default_handler,
428423
this.graph_tooltip.ontooltipenter = this._on_graph_tooltip_enter_bound;
429424
this.graph_tooltip.ontooltipleave = this._on_graph_tooltip_leave_bound;
430425

431-
this.header_tooltip = Tooltips.register("network-header-tooltip", true, false);
432-
this.header_tooltip.ontooltip = this._on_header_tooltip_bound;
433-
434426
this._on_clear_log_bound = function(evt, target)
435427
{
436428
this.service.clear_request_context();

0 commit comments

Comments
 (0)