1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 04:07:59 +01:00

Make :tab :back/<C-t>H, and so forth, work.

This commit is contained in:
Kris Maglione
2011-09-15 10:29:10 -04:00
parent a892dee69d
commit ee6f11eb09

View File

@@ -74,6 +74,9 @@ var History = Module("history", {
* marks stack. @optional * marks stack. @optional
*/ */
stepTo: function stepTo(steps, jumps) { stepTo: function stepTo(steps, jumps) {
if (dactyl.forceOpen.target == dactyl.NEW_TAB)
tabs.cloneTab(tabs.getTab(), true);
if (jumps) if (jumps)
steps -= marks.jump(steps); steps -= marks.jump(steps);
if (steps == 0) if (steps == 0)