]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/theme.php
Merge pull request #8388 from annando/fetch
[friendica.git] / view / theme / frio / theme.php
index daeb22a5edabcbeb3d9e8f1cfe88f416a2e20711..22afbc9a7cf63394680a9d2f4baaf53ae52e113c 100644 (file)
@@ -40,14 +40,6 @@ function frio_init(App $a)
                        </script>
 EOT;
        }
-
-       $enable_compose = DI::pConfig()->get(local_user(), 'frio', 'enable_compose');
-       $compose = $enable_compose === '1' || $enable_compose === null && DI::config()->get('frio', 'enable_compose') ? 1 : 0;
-       DI::page()['htmlhead'] .= <<< HTML
-               <script type="text/javascript">
-                       var compose = $compose;
-               </script>
-HTML;
 }
 
 function frio_install()
@@ -360,7 +352,7 @@ function frio_display_item(App $a, &$arr)
                $subthread = [
                        'menu'   => 'follow_thread',
                        'title'  => DI::l10n()->t('Follow Thread'),
-                       'action' => 'dosubthread(' . $arr['item']['id'] . '); return false;',
+                       'action' => 'dosubthread(' . $arr['item']['id'] . ');',
                        'href'   => '#'
                ];
        }