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) {
let storageAction;
let actionName;
if (!remove) {
await this.storageArea.set(pageUrl, {
userContextId,

View file

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

View file

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