mirror of
https://github.com/zombieFox/nightTab.git
synced 2025-02-17 18:50:47 +01:00
[refactor] improve control module
This commit is contained in:
parent
91c2f8b208
commit
5d6ccdc118
File diff suppressed because it is too large
Load Diff
@ -25,8 +25,8 @@ var keyboard = (function() {
|
||||
path: "link.edit",
|
||||
newValue: false
|
||||
});
|
||||
control.update();
|
||||
control.render();
|
||||
control.render.update();
|
||||
control.render.class();
|
||||
};
|
||||
data.save();
|
||||
};
|
||||
@ -55,7 +55,7 @@ var keyboard = (function() {
|
||||
// ctrl+alt+d
|
||||
if (event.ctrlKey && event.altKey && event.keyCode == 68) {
|
||||
theme.toggle();
|
||||
control.update();
|
||||
control.render.update();
|
||||
data.save();
|
||||
};
|
||||
}, false);
|
||||
@ -83,8 +83,8 @@ var keyboard = (function() {
|
||||
if (event.ctrlKey && event.altKey && event.keyCode == 69) {
|
||||
link.edit();
|
||||
link.tabindex();
|
||||
control.update();
|
||||
control.render();
|
||||
control.render.update();
|
||||
control.render.class();
|
||||
data.save();
|
||||
};
|
||||
}, false);
|
||||
|
@ -156,8 +156,8 @@ var link = (function() {
|
||||
render.item.tabindex();
|
||||
render.previousFocus();
|
||||
sortable(".link-area");
|
||||
control.dependents();
|
||||
control.render();
|
||||
control.render.dependents();
|
||||
control.render.class();
|
||||
shade.close();
|
||||
pagelock.unlock();
|
||||
},
|
||||
@ -742,8 +742,8 @@ var link = (function() {
|
||||
render.item.all();
|
||||
render.item.tabindex();
|
||||
sortable(".link-area");
|
||||
control.dependents();
|
||||
control.render();
|
||||
control.render.dependents();
|
||||
control.render.class();
|
||||
stagedLink.reset();
|
||||
shade.close();
|
||||
pagelock.unlock();
|
||||
|
@ -1,6 +1,6 @@
|
||||
var version = (function() {
|
||||
|
||||
var current = "3.56.0";
|
||||
var current = "3.57.0";
|
||||
|
||||
var compare = function(a, b) {
|
||||
var pa = a.split(".");
|
||||
|
@ -2,7 +2,7 @@
|
||||
"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.",
|
||||
"version": "3.56.0",
|
||||
"version": "3.57.0",
|
||||
"manifest_version": 2,
|
||||
"chrome_url_overrides": {
|
||||
"newtab": "index.html"
|
||||
|
Loading…
Reference in New Issue
Block a user