mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-23 14:26:58 +00:00
More layout stuff
This commit is contained in:
9
frontend/src/bootstrap.js
vendored
9
frontend/src/bootstrap.js
vendored
@@ -19,6 +19,15 @@ if (token) {
|
||||
console.error('CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token');
|
||||
}
|
||||
|
||||
// locale
|
||||
let localeToken = document.head.querySelector('meta[name="locale"]');
|
||||
|
||||
if (localeToken) {
|
||||
window.localeValue = localeToken.content;
|
||||
} else {
|
||||
window.localeValue = 'en_US';
|
||||
}
|
||||
|
||||
// admin stuff
|
||||
require('jquery-ui');
|
||||
require('bootstrap');
|
||||
|
Reference in New Issue
Block a user