mirror of
https://github.com/zombieFox/nightTab.git
synced 2025-02-26 15:11:00 +01:00
[bug] fix custom theme not resetting after saving
This commit is contained in:
parent
7c712c2292
commit
c82ebd968d
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "nighttab",
|
"name": "nighttab",
|
||||||
"version": "4.8.2",
|
"version": "4.8.3",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "nighttab",
|
"name": "nighttab",
|
||||||
"version": "4.8.2",
|
"version": "4.8.3",
|
||||||
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
|
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -860,7 +860,7 @@ var theme = (function() {
|
|||||||
return JSON.parse(JSON.stringify(state.get.current().theme.custom[index]));
|
return JSON.parse(JSON.stringify(state.get.current().theme.custom[index]));
|
||||||
},
|
},
|
||||||
add: function() {
|
add: function() {
|
||||||
state.get.current().theme.custom.push(stagedThemeCustom.theme);
|
state.get.current().theme.custom.push(JSON.parse(JSON.stringify(stagedThemeCustom.theme)));
|
||||||
},
|
},
|
||||||
remove: function(copyStagedThemeCustom) {
|
remove: function(copyStagedThemeCustom) {
|
||||||
state.get.current().theme.custom.splice(stagedThemeCustom.position.index, 1);
|
state.get.current().theme.custom.splice(stagedThemeCustom.position.index, 1);
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
var version = (function() {
|
var version = (function() {
|
||||||
|
|
||||||
var current = "4.8.2";
|
var current = "4.8.3";
|
||||||
|
|
||||||
var name = "Naughty Goose";
|
var name = "Naughty Goose";
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"name": "nightTab",
|
"name": "nightTab",
|
||||||
"short_name": "nightTab",
|
"short_name": "nightTab",
|
||||||
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
|
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
|
||||||
"version": "4.8.2",
|
"version": "4.8.3",
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"chrome_url_overrides": {
|
"chrome_url_overrides": {
|
||||||
"newtab": "index.html"
|
"newtab": "index.html"
|
||||||
|
Loading…
Reference in New Issue
Block a user