mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-13 17:25:45 +01:00
Return the default 'stal' value for Vimperator and Xulmus to 0.
This commit is contained in:
@@ -116,7 +116,7 @@ function Tabs() //{{{
|
|||||||
|
|
||||||
options.add(["showtabline", "stal"],
|
options.add(["showtabline", "stal"],
|
||||||
"Control when to show the tab bar of opened web pages",
|
"Control when to show the tab bar of opened web pages",
|
||||||
"number", config.optionDefaults['stal'],
|
"number", config.optionDefaults["showtabline"],
|
||||||
{
|
{
|
||||||
setter: function (value)
|
setter: function (value)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -123,7 +123,7 @@ const config = { //{{{
|
|||||||
],
|
],
|
||||||
|
|
||||||
optionDefaults: {
|
optionDefaults: {
|
||||||
stal: 0,
|
showtabline: 2,
|
||||||
},
|
},
|
||||||
|
|
||||||
scripts: [
|
scripts: [
|
||||||
|
|||||||
@@ -160,7 +160,7 @@ const config = { //{{{
|
|||||||
],
|
],
|
||||||
|
|
||||||
optionDefaults: {
|
optionDefaults: {
|
||||||
stal: 0,
|
showtabline: 2,
|
||||||
},
|
},
|
||||||
|
|
||||||
scripts: [
|
scripts: [
|
||||||
@@ -486,9 +486,6 @@ const config = { //{{{
|
|||||||
////////////////////// OPTIONS /////////////////////////////////////////////////
|
////////////////////// OPTIONS /////////////////////////////////////////////////
|
||||||
/////////////////////////////////////////////////////////////////////////////{{{
|
/////////////////////////////////////////////////////////////////////////////{{{
|
||||||
|
|
||||||
let stal = options.get("showtabline");
|
|
||||||
stal.value = stal.defaultValue = 2;
|
|
||||||
|
|
||||||
options.add(["online"],
|
options.add(["online"],
|
||||||
"Set the 'work offline' option",
|
"Set the 'work offline' option",
|
||||||
"boolean", true,
|
"boolean", true,
|
||||||
|
|||||||
Reference in New Issue
Block a user