Ver Fonte

fix #1885: show syntax error on top of entry

+ adjust update message
+ fix typo
tophf há 2 anos atrás
pai
commit
59bd7b09b1
2 ficheiros alterados com 2 adições e 2 exclusões
  1. 1 1
      src/background/utils/storage.js
  2. 1 1
      src/popup/style.css

+ 1 - 1
src/background/utils/storage.js

@@ -98,7 +98,7 @@ const storage = {
   set api(val) { api = val; },
   /** @return {?StorageArea} */// eslint-disable-next-line no-use-before-define
   forKey: key => storageByPrefix[/^\w+:|$/.exec(key)[0]],
-  base: new StorageArea('', ''),
+  base: new StorageArea('base', ''),
   [S_CACHE]: new StorageArea(S_CACHE, S_CACHE_PRE),
   [S_CODE]: new StorageArea(S_CODE, S_CODE_PRE),
   /** last-modified HTTP header value per URL */

+ 1 - 1
src/popup/style.css

@@ -379,6 +379,6 @@ footer {
 .syntax {
   font-size: xx-small;
   position: absolute;
-  top: 2.5em;
+  top: -0.2em;
   color: red;
 }