Skip to content

Commit 38fe0ee

Browse files
committed
fix media
1 parent 2649b6b commit 38fe0ee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/Activity.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ export default {
504504
// Options
505505
{
506506
toolbox: serializedToolbox,
507-
// path: 'static/js/blockly/',
507+
media: 'media',
508508
// TODO: Use values from fetched configuration!
509509
scrollbars: true,
510510
// MaxBlocks : -1, // -1 as infinite not working FIXME

src/i18n/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const locales = {
1919

2020
Vue.use(VueI18n);
2121

22-
const language = window.navigator.userLanguage || window.navigator.language;
22+
const language = (window.navigator.userLanguage || window.navigator.language).substring(0, 2);
2323

2424
export default new VueI18n({
2525
locale: language,

0 commit comments

Comments
 (0)