Fix more stylelint and eslint errors

This commit is contained in:
Peter deHaan 2017-06-22 09:54:34 -07:00
parent 12cd4777d4
commit 5f8eab3f2b
No known key found for this signature in database
GPG Key ID: F0FC6C01C6305097
2 changed files with 2 additions and 2 deletions

View File

@ -2,4 +2,5 @@ extends: stylelint-config-standard
rules: rules:
color-hex-case: upper color-hex-case: upper
declaration-colon-newline-after: null
selector-list-comma-newline-after: null selector-list-comma-newline-after: null

View File

@ -15,7 +15,7 @@ $(document).ready(function() {
// copy link to clipboard // copy link to clipboard
$copyBtn.click(() => { $copyBtn.click(() => {
var aux = document.createElement('input'); const aux = document.createElement('input');
aux.setAttribute('value', $('#link').attr('value')); aux.setAttribute('value', $('#link').attr('value'));
document.body.appendChild(aux); document.body.appendChild(aux);
aux.select(); aux.select();
@ -61,7 +61,6 @@ $(document).ready(function() {
const popupDiv = document.createElement('div'); const popupDiv = document.createElement('div');
const $popupText = $('<span>', { class: 'popuptext' }); const $popupText = $('<span>', { class: 'popuptext' });
const cellText = document.createTextNode(file.name); const cellText = document.createTextNode(file.name);
const progress = document.createElement('p');
name.appendChild(cellText); name.appendChild(cellText);