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 +1 -1
- package/static/lib/composer.js +2 -2
package/package.json
CHANGED
package/static/lib/composer.js
CHANGED
|
@@ -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="
|
|
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 ? '#
|
|
34
|
+
$(this).css({ color: active ? '#27ae60' : '#c0392b' });
|
|
35
35
|
});
|
|
36
36
|
|
|
37
37
|
const $toolbar = $composer.find('ul.formatting-group').first();
|