mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-06-24 18:11:00 +00:00
Language selector working
This commit is contained in:
parent
754ac65b9e
commit
58350d868c
4 changed files with 35 additions and 13 deletions
|
@ -1,6 +1,6 @@
|
|||
// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-3.0
|
||||
// API host/endpoint
|
||||
var BaseUrl = window.location.protocol + "//" + window.location.host + url_prefix ;
|
||||
var BaseUrl = window.location.protocol + "//" + window.location.host + "{{ url_prefix }}" ;
|
||||
var htmlRegex = /<(.*)>.*?|<(.*)\/>/;
|
||||
document.addEventListener('DOMContentLoaded', function(){
|
||||
var sidenavElems = document.querySelectorAll('.sidenav');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue