diff options
author | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2020-05-15 22:08:39 +0300 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2020-05-19 16:50:53 +0200 |
commit | 2f0132929f29aeb37411418fe8088fd6abba11a6 (patch) | |
tree | c59d7289b47dddc06c8bf72c15d4567cd8f091a8 /help3xsl | |
parent | 4cb385dca9a476ca77f8e8ab8313a0767ff15e85 (diff) |
langnames.js loaded too late
help2.js depends on it being loaded, so lang dropdown is empty
on mobile. Hopefully this fixes it.
Change-Id: Ic331df0e6e34a2c50b7bd343c877685d4e84d648
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/94334
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'help3xsl')
-rw-r--r-- | help3xsl/online_transform.xsl | 2 | ||||
-rw-r--r-- | help3xsl/xap_templ_query.xsl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl index 573967c192..1f5d93467a 100644 --- a/help3xsl/online_transform.xsl +++ b/help3xsl/online_transform.xsl @@ -145,11 +145,11 @@ <link type="text/css" href="prism.css" rel="Stylesheet"/> <script type="text/javascript" src="polyfills.js"></script> <script type="text/javascript" src="languages.js"></script> + <script type="text/javascript" src="{$lang}/langnames.js"></script> <script type="text/javascript" src="fuzzysort.js"></script> <script type="text/javascript" src="prism.js"></script> <script type="text/javascript" src="help2.js" defer=""></script> <script type="text/javascript" src="a11y-toggle.js" defer=""></script> - <script type="text/javascript" src="{$lang}/langnames.js" defer=""></script> <script type="text/javascript" src="paginathing.js" defer=""></script> <script type="text/javascript" src="{$lang}/bookmarks.js" defer=""></script> <script type="text/javascript" src="{$lang}/contents.js" defer=""></script> diff --git a/help3xsl/xap_templ_query.xsl b/help3xsl/xap_templ_query.xsl index 6b4eb51c93..a606d2fc2a 100644 --- a/help3xsl/xap_templ_query.xsl +++ b/help3xsl/xap_templ_query.xsl @@ -81,12 +81,12 @@ $def{SPAGE,<input type=submit name="[" value="$1" disabled=disabled>} <link type="text/css" href="prism.css" rel="Stylesheet"/> <script type="text/javascript" src="polyfills.js"></script> <script type="text/javascript" src="languages.js"></script> +<script type="text/javascript" src="]]><xsl:value-of select="$lang"/><![CDATA[/langnames.js"></script> <script type="text/javascript" src="fuzzysort.js"></script> <script type="text/javascript" src="prism.js"></script> <script type="text/javascript" src="help2.js" defer=""></script> <script type="text/javascript" src="a11y-toggle.js" defer=""></script> <script type="text/javascript" src="paginathing.js" defer=""></script> -<script type="text/javascript" src="]]><xsl:value-of select="$lang"/><![CDATA[/langnames.js" defer=""></script> <script type="text/javascript" src="]]><xsl:value-of select="$lang"/><![CDATA[/bookmarks.js" defer=""></script> <script type="text/javascript" src="]]><xsl:value-of select="$lang"/><![CDATA[/contents.js" defer=""></script> <script type="text/javascript" src="help.js" defer=""></script> |