aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/hackmd
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2021-09-19 07:26:25 +0530
committerLibravatar Vijay A <avijayr@protonmail.com>2021-09-19 09:11:55 +0530
commit7517a409a1a502c747eb4598492a88cec4e8d58c (patch)
tree7b6b603b0831845ac07fe6ab8e4c52bf19c8e850 /recipes/hackmd
parentMerge pull request #713 from kris7t/fix-api-access (diff)
downloadferdium-recipes-7517a409a1a502c747eb4598492a88cec4e8d58c.tar.gz
ferdium-recipes-7517a409a1a502c747eb4598492a88cec4e8d58c.tar.zst
ferdium-recipes-7517a409a1a502c747eb4598492a88cec4e8d58c.zip
fix: fix js error; styling
Diffstat (limited to 'recipes/hackmd')
-rw-r--r--recipes/hackmd/package.json2
-rw-r--r--recipes/hackmd/webview.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/recipes/hackmd/package.json b/recipes/hackmd/package.json
index 708da11..6a58405 100644
--- a/recipes/hackmd/package.json
+++ b/recipes/hackmd/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "hackmd", 2 "id": "hackmd",
3 "name": "HackMd", 3 "name": "HackMd",
4 "version": "1.1.0", 4 "version": "1.1.1",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "https://hackmd.io", 7 "serviceURL": "https://hackmd.io",
diff --git a/recipes/hackmd/webview.js b/recipes/hackmd/webview.js
index 82ce58d..9ccf912 100644
--- a/recipes/hackmd/webview.js
+++ b/recipes/hackmd/webview.js
@@ -3,7 +3,7 @@ const _path = _interopRequireDefault(require('path'));
3function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 3function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
4 4
5module.exports = (Ferdi) => { 5module.exports = (Ferdi) => {
6 const getMessages = function getMessages() { 6 const getMessages = () => {
7 // get unread messages 7 // get unread messages
8 const count = document.querySelectorAll('.guilds-wrapper .badge').length; 8 const count = document.querySelectorAll('.guilds-wrapper .badge').length;
9 9