aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-06-24 19:31:19 +0000
committerMario <mario@mariovavti.com>2021-06-24 19:31:19 +0000
commit167db22e15c72c32cd67ce1a2b242dc4527e0b64 (patch)
tree5838e2d84860366a9fdb6a68dc92aeb692306c60 /Zotlabs/Widget
parent108777251e4d5f61c9fa344f7a19c31a1b12fb44 (diff)
downloadvolse-hubzilla-167db22e15c72c32cd67ce1a2b242dc4527e0b64.tar.gz
volse-hubzilla-167db22e15c72c32cd67ce1a2b242dc4527e0b64.tar.bz2
volse-hubzilla-167db22e15c72c32cd67ce1a2b242dc4527e0b64.zip
slightly refactor for desktop notifications and fix minor issues
Diffstat (limited to 'Zotlabs/Widget')
-rw-r--r--Zotlabs/Widget/Hq_controls.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/Zotlabs/Widget/Hq_controls.php b/Zotlabs/Widget/Hq_controls.php
index 9504b8f9e..91335fd76 100644
--- a/Zotlabs/Widget/Hq_controls.php
+++ b/Zotlabs/Widget/Hq_controls.php
@@ -15,9 +15,8 @@ class Hq_controls {
$entries = [
'toggle_editor' => [
'label' => t('Toggle post editor'),
- 'id' => 'jot-toggle',
'href' => '#',
- 'class' => 'btn',
+ 'class' => 'btn jot-toggle',
'type' => 'button',
'icon' => 'pencil',
'extra' => 'data-toggle="button"'
@@ -27,9 +26,8 @@ class Hq_controls {
if(Apps::system_app_installed(local_channel(), 'Notes')) {
$entries['toggle_notes'] = [
'label' => t('Toggle personal notes'),
- 'id' => 'notes-toggle',
'href' => '#',
- 'class' => 'btn',
+ 'class' => 'btn notes-toggle',
'type' => 'button',
'icon' => 'sticky-note-o',
'extra' => 'data-toggle="button"'