aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcli.js10
-rw-r--r--poll/index.js2
-rw-r--r--poll/public/script.js2
-rw-r--r--questions/index.js2
-rw-r--r--questions/public/script.js4
5 files changed, 10 insertions, 10 deletions
diff --git a/cli.js b/cli.js
index 0952f3d..e3165d2 100755
--- a/cli.js
+++ b/cli.js
@@ -17,31 +17,31 @@ if ((idx = params.indexOf("-r")) > -1) {
break;
case "motto":
db.resetMottovote()
- .then(() => console.info("Resetted motto voting!"))
+ .then(() => console.info("Reset motto voting!"))
.then(() => process.exit(0))
.catch(console.error);
break;
case "poll":
db.resetPolls()
- .then(() => console.info("Resetted polls!"))
+ .then(() => console.info("Reset polls!"))
.then(() => process.exit(0))
.catch(console.error);
break;
case "profile":
db.resetProfiles()
- .then(() => console.info("Resetted profiles!"))
+ .then(() => console.info("Reset profiles!"))
.then(() => process.exit(0))
.catch(console.error);
break;
case "quotes":
db.resetQuotes()
- .then(() => console.info("Resetted quotes!"))
+ .then(() => console.info("Reset quotes!"))
.then(() => process.exit(0))
.catch(console.error);
break;
case "questions":
db.resetQuestions()
- .then(() => console.info("Resetted questions!"))
+ .then(() => console.info("Reset questions!"))
.then(() => process.exit(0))
.catch(console.error);
break;
diff --git a/poll/index.js b/poll/index.js
index 4fb1eab..ca4b573 100644
--- a/poll/index.js
+++ b/poll/index.js
@@ -25,7 +25,7 @@ app.get("/api/question/:id", checkUser, async (req, res) => {
[question.id, req.session.uid],
);
question.answer = answers.length > 0 ? answers[0].answer_id : undefined;
- res.json(question); // ๐Ÿ˜œ
+ res.json(question);
} else {
res.json({});
}
diff --git a/poll/public/script.js b/poll/public/script.js
index 5ca8a98..18469c3 100644
--- a/poll/public/script.js
+++ b/poll/public/script.js
@@ -97,7 +97,7 @@ async function request() {
return resp.json();
}
-// I did this myself lel ๐Ÿคจ
+// I did this myself lel
Object.prototype.empty = function () {
return Object.keys(this).length === 0;
};
diff --git a/questions/index.js b/questions/index.js
index 52a26e9..daf419d 100644
--- a/questions/index.js
+++ b/questions/index.js
@@ -22,7 +22,7 @@ app.get("/api/question/:id", checkUser, async (req, res) => {
[question.id, req.session.uid],
);
question.answer = answers.length > 0 ? answers[0].answer : undefined;
- res.json(question); // ๐Ÿ˜œ
+ res.json(question);
} else {
res.json({});
}
diff --git a/questions/public/script.js b/questions/public/script.js
index 70a15ef..e5a03d0 100644
--- a/questions/public/script.js
+++ b/questions/public/script.js
@@ -52,7 +52,7 @@ function getNext(q = 0) {
window.location.assign(`/questions/?qid=${q}`);
}
-// I did this myself lel ๐Ÿคจ
+// I did this myself lel
Object.prototype.empty = function () {
return Object.keys(this).length === 0;
};
@@ -78,6 +78,6 @@ buttons.on("click", async (e) => {
method = "PUT";
getNext(qid);
// document.querySelector(`.answer-btn[data-value="${e.target.dataset.value}"]`).style.opacity = "0.5";
- // document.querySelector(`.answer-btn[data-value="${+!+e.target.dataset.value}"]`).style.opacity = "1"; // Let's not talk about it ๐Ÿ˜‰
+ // document.querySelector(`.answer-btn[data-value="${+!+e.target.dataset.value}"]`).style.opacity = "1"; // Let's not talk about it
}
}); \ No newline at end of file