mirror of
https://github.com/vale981/riot-katex
synced 2025-03-04 08:41:39 -05:00
integrate name change to element
This commit is contained in:
parent
423cb99399
commit
f075de9c84
3 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
#  Riot KaTeX
|
#  Riot/Element KaTeX
|
||||||
|
|
||||||
This extension injects KaTeX into the `Riot` chat client for
|
This extension injects KaTeX into the `Element` chat client for
|
||||||
`matrix`.
|
`matrix`.
|
||||||
|
|
||||||
## Writing LaTeX
|
## Writing LaTeX
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"name": "Riot KaTeX",
|
"name": "Riot KaTeX",
|
||||||
"version": "1.1.0",
|
"version": "1.1.1",
|
||||||
|
|
||||||
"description": "Renders formulas on riot chat instances chats using KaTeX.",
|
"description": "Renders formulas on riot chat instances chats using KaTeX.",
|
||||||
|
|
||||||
|
|
|
@ -114,6 +114,6 @@
|
||||||
|
|
||||||
// detect Riot
|
// detect Riot
|
||||||
let app_name_meta = document.head.querySelector('meta[name="application-name"]');
|
let app_name_meta = document.head.querySelector('meta[name="application-name"]');
|
||||||
if (app_name_meta && app_name_meta.content === 'Riot')
|
if (app_name_meta && (app_name_meta.content === 'Riot' || app_name_meta.content === 'Element'))
|
||||||
wait_for_matrix();
|
wait_for_matrix();
|
||||||
})();
|
})();
|
||||||
|
|
Loading…
Add table
Reference in a new issue