mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 425588 "Go to line" should always parse line number as decimal r=mconnor, sr=roc
This commit is contained in:
parent
e2cf1ad1fa
commit
9f2119ab96
@ -402,7 +402,7 @@ function ViewSourceGoToLine()
|
||||
|
||||
if (!ok) return;
|
||||
|
||||
var line = parseInt(input.value);
|
||||
var line = parseInt(input.value, 10);
|
||||
|
||||
if (!(line > 0)) {
|
||||
promptService.alert(window,
|
||||
|
Loading…
Reference in New Issue
Block a user