hedgedoc/public/js
Erik Michelson da35e73346
Restructured locale.js to be included into the editor's js bundle
Until now client-side translations were only possible in the context of the intro/history page, because the locale-detection logic relied on the language selector as a source of available languages. The editor of course has no such selector. With this commit, I copied the list of available languages from the i18n-initialization (server-side) to support language detection in the editor too.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2020-08-13 23:41:44 +02:00
..
lib Set all cookies with sameSite: strict 2020-06-08 15:27:31 +02:00
cover.js Fix #249 - Focus user field after opening login modal 2020-01-08 18:37:11 +01:00
extra.js Restructured locale.js to be included into the editor's js bundle 2020-08-13 23:41:44 +02:00
history.js Fix eslint warnings 2019-05-31 00:30:29 +02:00
htmlExport.js Use JavaScript Standard Style (part 2) 2017-03-09 02:41:05 +08:00
index.js Set all cookies with sameSite: strict 2020-06-08 15:27:31 +02:00
locale.js Restructured locale.js to be included into the editor's js bundle 2020-08-13 23:41:44 +02:00
mathjax-config-extra.js Fix MathJax config not being picked up 2017-10-22 02:48:24 +02:00
pretty.js Fix eslint warnings 2019-05-31 00:30:29 +02:00
render.js Don't accept sandbox attribute 2019-10-22 12:04:12 +02:00
reveal-markdown.js Remove the xss library from webpack 2018-11-10 20:27:07 +01:00
slide.js Fix eslint warnings 2019-05-31 00:30:29 +02:00
utils.js Update to migrate note url in the history of browser storage and cookie 2018-03-03 16:26:19 +08:00