mirror of
https://github.com/friendica/friendica
synced 2025-04-30 14:24:22 +02:00
The data for the language display is now fetched on demand
This commit is contained in:
parent
50b1de5959
commit
b40687081e
7 changed files with 80 additions and 8 deletions
|
@ -440,7 +440,7 @@ class Item
|
|||
];
|
||||
|
||||
if (!empty($item['language'])) {
|
||||
$menu[$this->l10n->t('Languages')] = 'javascript:alert(\'' . ItemModel::getLanguageMessage($item) . '\');';
|
||||
$menu[$this->l10n->t('Languages')] = 'javascript:displayLanguage(' . $item['uri-id'] . ');';
|
||||
}
|
||||
|
||||
$menu[$this->l10n->t('Search Text')] = 'javascript:displaySearchText(' . $item['uri-id'] . ');';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue