Skip to content

Commit fa810df

Browse files
author
Chris K
committed
Use existing constants.
1 parent 47d37ca commit fa810df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ecma-debugger/js-source-view.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ cls.JsSourceView = function(id, name, container_class)
487487
{
488488
var source_content = document.querySelector(CONTAINER_SELECTOR);
489489
var lines = source_content &&
490-
source_content.querySelectorAll("div:not(.error-description)");
490+
source_content.querySelectorAll("div:not(." + ERROR_TOOLTIP_CLASS + ")");
491491
var line = typeof line_no == "number" && lines && lines[line_no - __top_line];
492492
return line;
493493
}

0 commit comments

Comments
 (0)