Skip to content

Commit 98468de

Browse files
author
Chris K
committed
Fix for DFL-3322, Tooltips throw on experimental.
1 parent 203f00a commit 98468de

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/ecma-debugger/newscript.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,9 @@ window.cls.NewScriptPrototype = function()
142142

143143
this.get_line = function(line_number)
144144
{
145+
if (!this.line_arr)
146+
this.set_line_states();
147+
145148
if (line_number > 0 && this.line_arr[line_number])
146149
return this.script_data.slice(this.line_arr[line_number - 1],
147150
this.line_arr[line_number]);

0 commit comments

Comments
 (0)