Sfoglia il codice sorgente

add temporary fix for firefox error in windows resize

pull/342/head
Guillaume Vincent 8 anni fa
parent
commit
2d2d5bf6a0
3 ha cambiato i file con 5 aggiunte e 6 eliminazioni
  1. +3
    -4
      extension/js/password-generator.js
  2. +1
    -1
      extension/manifest.json
  3. +1
    -1
      extension/styles/style.min.css

+ 3
- 4
extension/js/password-generator.js Vedi File

@@ -103,15 +103,14 @@ clipboard.on('success', function (e) {
});

document.getElementById('displayOptionsButton').addEventListener('click', toggleBlocks);

function toggleVisibility(className) {
var elements = document.getElementsByClassName(className);
for (var i = 0; i < elements.length; i++) {
var e = elements[i];
if (e.style.display === 'block') {
e.style.display = 'none';
} else {
if (e.style.display === 'none') {
e.style.display = 'block';
} else {
e.style.display = 'none';
}
}
}


+ 1
- 1
extension/manifest.json Vedi File

@@ -2,7 +2,7 @@
"description": "chrome and firefox web extension for lesspass password manager",
"manifest_version": 2,
"name": "lesspass",
"version": "0.0.3",
"version": "0.0.4",
"homepage_url": "https://github.com/lesspass/webextension",
"icons": {
"64": "icons/logo-64.png"


+ 1
- 1
extension/styles/style.min.css Vedi File

@@ -1 +1 @@
*{border-radius:0!important}i{cursor:pointer}#autoLoginButton,.option-block{display:none}#displayOptionsButton{cursor:pointer}.card{border:none}#fingerprint{display:none}
*{border-radius:0!important}i{cursor:pointer}#autoLoginButton{display:none}#displayOptionsButton{cursor:pointer}.card{border:none}#fingerprint{display:none}

Caricamento…
Annulla
Salva