Merge branch 'master' into develop

pull/1120/head
antelle 2019-02-07 22:38:58 +01:00
commit f0530e2270
6 changed files with 1066 additions and 30 deletions

View File

@ -6,14 +6,18 @@ const FocusDetector = {
init() {
this.isFocused = true;
this.detectsFocusWithEvents = !FeatureDetector.isDesktop && !FeatureDetector.isMobile;
window.onfocus = () => {
this.isFocused = true;
Backbone.trigger('focus');
};
window.onblur = () => {
this.isFocused = false;
Backbone.trigger('blur');
};
window.addEventListener('focus', () => {
if (!FocusDetector.isFocused) {
FocusDetector.isFocused = true;
Backbone.trigger('focus');
}
});
window.addEventListener('blur', () => {
if (FocusDetector.isFocused) {
FocusDetector.isFocused = false;
Backbone.trigger('blur');
}
});
},
hasFocus() {

View File

@ -1,6 +1,6 @@
{
"name": "KeeWeb",
"version": "1.7.5",
"version": "1.7.6",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "KeeWeb",
"version": "1.7.5",
"version": "1.7.6",
"description": "Free cross-platform password manager compatible with KeePass",
"main": "main.js",
"homepage": "https://keeweb.info",

1067
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "keeweb",
"version": "1.7.5",
"version": "1.7.6",
"description": "Free cross-platform password manager compatible with KeePass",
"main": "Gruntfile.js",
"private": true,

View File

@ -1,5 +1,8 @@
Release notes
-------------
##### v1.7.6 (2019-02-07)
`-` fixed focus issues in desktop apps
##### v1.7.5 (2019-02-04)
`-` fix #1096: focus issues after minimizing
`-` fix #1094: plugin installation in MS Edge