]> _ Git - fluidbook-html5.git/commitdiff
wait #5310 @0:10
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 5 Jul 2022 09:25:01 +0000 (11:25 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 5 Jul 2022 09:25:01 +0000 (11:25 +0200)
js/libs/fluidbook/fluidbook.menu.js

index dab968392988d7e82b3355dca682fe5f1b3ac1dc..28e1ba1372ad05e42d2ff77f6b58e241923a3573 100644 (file)
@@ -406,9 +406,7 @@ FluidbookMenu.prototype = {
         Object.keys(this.fluidbook.l10n.multilang).forEach(function (langCode) {
             var v = this.fluidbook.l10n.multilang[langCode];
             var url = v.url;
-            if (url.substr(0, 3) == '../' && !$this.fluidbook.settings.alwaysHTML5 && !$this.fluidbook.settings.standalone && !$this.fluidbook.support.offline) {
-                url = '../' + url;
-            }
+
             /*'settings' => array(__('Langue') => 'lang',
              __('Langue') . ' (' . __('Pays') . ')' => 'lang_country',
              __('Pays') . ' (' . __('Langue') . ')' => 'country_lang'));*/