[bug] fix control value modify loop

This commit is contained in:
zombieFox 2020-04-11 11:20:39 +01:00
parent 8a234de5df
commit 1c0a499944
5 changed files with 6 additions and 6 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "nightTab", "name": "nightTab",
"version": "5.7.0", "version": "5.7.1",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "nightTab", "name": "nightTab",
"version": "5.7.0", "version": "5.7.1",
"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": {

View File

@ -7357,7 +7357,7 @@ var control = (function() {
}); });
}; };
if (object.valueModify) { if (object.valueModify) {
object.mirrorElement.forEach(function(arrayItem, index) { for (var key in object.valueModify) {
helper.e(object.element).addEventListener(bind.control.eventType[object.type], function(event) { helper.e(object.element).addEventListener(bind.control.eventType[object.type], function(event) {
var _update = function() { var _update = function() {
render.update.control.menu(object); render.update.control.menu(object);
@ -7365,7 +7365,7 @@ var control = (function() {
clearTimeout(bind.control.timer.inputUpdate); clearTimeout(bind.control.timer.inputUpdate);
bind.control.timer.inputUpdate = setTimeout(_update, 1000); bind.control.timer.inputUpdate = setTimeout(_update, 1000);
}, false); }, false);
}); };
}; };
}, },
header: function(object) { header: function(object) {

View File

@ -1,6 +1,6 @@
var version = (function() { var version = (function() {
var current = "5.7.0"; var current = "5.7.1";
var name = "Zonked Tarsier"; var name = "Zonked Tarsier";

View File

@ -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": "5.7.0", "version": "5.7.1",
"manifest_version": 2, "manifest_version": 2,
"chrome_url_overrides": { "chrome_url_overrides": {
"newtab": "index.html" "newtab": "index.html"