1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-21 08:55:46 +01:00

Open the firstrun page in a new tab.

This commit is contained in:
Kris Maglione
2010-11-19 16:30:38 -05:00
parent 8b1a5132b7
commit 2df24c410d
5 changed files with 25 additions and 28 deletions

View File

@@ -2015,9 +2015,12 @@ const Dactyl = Module("dactyl", {
// first time intro message
const firstTime = "extensions." + config.name + ".firsttime";
if (prefs.get(firstTime, true)) {
util.timeout(function () {
dactyl.help();
prefs.set(firstTime, false);
dactyl.timeout(function () {
this.withSavedValues(["forceNewTab"], function () {
this.forceNewTab = true;
this.help();
prefs.set(firstTime, false);
});
}, 1000);
}