Skip to content

Commit 5a6d4b3

Browse files
committed
fix bug: tabattach does'nt work correct.
Fixes issue 877 Update issue 877 Good catch. Thank you very much.
1 parent 1f6994f commit 5a6d4b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/content/tabs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -922,7 +922,7 @@ const Tabs = Module("tabs", {
922922
liberator.assert(args.length <= 2 && !args.some(function (i) !/^\d+$/.test(i)),
923923
"Trailing characters");
924924

925-
let [winIndex, tabIndex] = args.map(parseInt);
925+
let [winIndex, tabIndex] = args.map(function(i) { return parseInt(i, 10) });
926926
let win = liberator.windows[winIndex - 1];
927927

928928
liberator.assert(win, "Window " + winIndex + " does not exist");

0 commit comments

Comments
 (0)