mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-21 14:25:45 +01:00
Open the firstrun page in a new tab.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user