Skip to content

Commit

Permalink
fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsVipra committed Jul 10, 2023
1 parent 1ef3519 commit bbe1476
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions src/content_scripts/protoots.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ import {
} from "../libs/domhelpers";
import { addTypeAttribute, normaliseAccountName, sanitizePronouns } from "../libs/protootshelpers";

const hostName = location.host;

//before anything else, check whether we're on a Mastodon page
checkSite();
// log("hey vippy, du bist cute <3")
Expand Down Expand Up @@ -217,7 +215,7 @@ async function addProplate(element) {
* @returns {string}
*/
function getID(element) {
let id = element.dataset.id;
const id = element.dataset.id;
if (!id) {
// We don't have a status ID, pronouns might not be in cache
warn(
Expand Down
1 change: 0 additions & 1 deletion src/options/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ function saveOptions(e) {

function restoreOptions() {
async function setCurrentChoice(result) {
console.log(result);
if (Object.keys(result).length == 0) {
await defaultOptions();
} else {
Expand Down

0 comments on commit bbe1476

Please sign in to comment.