nodebb-plugin-facebook-post 1.0.40 → 1.0.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-plugin-facebook-post",
3
- "version": "1.0.40",
3
+ "version": "1.0.41",
4
4
  "description": "Auto-post new NodeBB topics to a fixed Facebook Page (text + NodeBB uploads + place id).",
5
5
  "main": "library.js",
6
6
  "dependencies": {
@@ -21,7 +21,7 @@
21
21
  const $li = $(`
22
22
  <li aria-label="Publier sur Facebook" data-bs-original-title="Publier sur Facebook" data-fbpost-btn>
23
23
  <button type="button" class="btn btn-sm btn-link text-reset"
24
- aria-label="Publier sur Facebook" style="opacity:0.45;">
24
+ aria-label="Publier sur Facebook" style="color:#c0392b;">
25
25
  <i class="fab fa-facebook-f"></i>
26
26
  </button>
27
27
  </li>
@@ -31,7 +31,7 @@
31
31
  $btn.on('click', function () {
32
32
  const active = !$(this).data('fbpost-active');
33
33
  $(this).data('fbpost-active', active);
34
- $(this).css({ color: active ? '#1877F2' : '', opacity: active ? '1' : '0.45' });
34
+ $(this).css({ color: active ? '#27ae60' : '#c0392b' });
35
35
  });
36
36
 
37
37
  const $toolbar = $composer.find('ul.formatting-group').first();