We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f6994f commit 5a6d4b3Copy full SHA for 5a6d4b3
common/content/tabs.js
@@ -922,7 +922,7 @@ const Tabs = Module("tabs", {
922
liberator.assert(args.length <= 2 && !args.some(function (i) !/^\d+$/.test(i)),
923
"Trailing characters");
924
925
- let [winIndex, tabIndex] = args.map(parseInt);
+ let [winIndex, tabIndex] = args.map(function(i) { return parseInt(i, 10) });
926
let win = liberator.windows[winIndex - 1];
927
928
liberator.assert(win, "Window " + winIndex + " does not exist");
0 commit comments