[refactor] improve page unlock when opening and closing modals quickly

This commit is contained in:
zombieFox 2020-04-18 10:59:13 +01:00
parent 08335dfdee
commit 26325d331b
5 changed files with 7 additions and 4 deletions

2
package-lock.json generated
View File

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

View File

@ -1,6 +1,6 @@
{
"name": "nightTab",
"version": "5.9.0",
"version": "5.10.0",
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
"main": "index.js",
"scripts": {

View File

@ -41,6 +41,9 @@ var keyboard = (function() {
link.edit.mode.close();
data.save();
};
if (state.get.current().pagelock) {
pagelock.unlock();
};
data.save();
};
}, false);

View File

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

View File

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