Fixing linting errors

This commit is contained in:
Jonathan Kingston 2017-05-25 17:12:53 +01:00
parent a29fae0893
commit fb845cce12
3 changed files with 8 additions and 7 deletions

View file

@ -193,7 +193,7 @@ const assignManager = {
}, },
async _setOrRemoveAssignment(pageUrl, userContextId, remove) { async _setOrRemoveAssignment(pageUrl, userContextId, remove) {
let storageAction; let actionName;
if (!remove) { if (!remove) {
await this.storageArea.set(pageUrl, { await this.storageArea.set(pageUrl, {
userContextId, userContextId,

View file

@ -346,17 +346,17 @@ manage things like container crud */
} }
#container-panel .panel-header { #container-panel .panel-header {
block-size: 26px;
background-color: #efefef; background-color: #efefef;
block-size: 26px;
font-size: 14px; font-size: 14px;
} }
#container-panel .panel-header-text { #container-panel .panel-header-text {
font-size: 14px;
text-transform: uppercase;
color: #727272; color: #727272;
font-size: 14px;
padding-block-end: 0; padding-block-end: 0;
padding-block-start: 0; padding-block-start: 0;
text-transform: uppercase;
} }
#container-panel .sort-containers-link { #container-panel .sort-containers-link {
@ -388,9 +388,9 @@ span ~ .panel-header-text {
} }
#current-page { #current-page {
white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap;
} }
#current-page > img { #current-page > img {
@ -407,6 +407,7 @@ span ~ .panel-header-text {
#current-tab > label > input { #current-tab > label > input {
display: inline; display: inline;
} }
#current-tab > label > img { #current-tab > label > img {
block-size: 12px; block-size: 12px;
display: inline-block; display: inline-block;
@ -419,11 +420,11 @@ span ~ .panel-header-text {
} }
#current-container > .usercontext-icon { #current-container > .usercontext-icon {
background-size: 16px;
block-size: 16px; block-size: 16px;
display: block; display: block;
flex: 0 0 20px; flex: 0 0 20px;
inline-size: 20px; inline-size: 20px;
background-size: 16px;
} }
/* Rows used when iterating over panels */ /* Rows used when iterating over panels */

View file

@ -135,7 +135,7 @@ const Logic = {
async currentTab() { async currentTab() {
const activeTabs = await browser.tabs.query({active: true}); const activeTabs = await browser.tabs.query({active: true});
if (activeTabs.length > 0) { if (activeTabs.length > 0) {
return activeTabs[0] return activeTabs[0];
} }
return false; return false;
}, },