diff options
author | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2018-01-04 22:45:57 +0200 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2018-01-05 17:21:22 +0100 |
commit | 382ba1bc41a04d2f7b444e4c4ca9460b66147717 (patch) | |
tree | 28a3743681f3d42c82f7ff086660027ac328206d /help3xsl/help.js | |
parent | 1ad545bef472627adbb43a5dfb1874fc60c2495e (diff) |
Switched to a sidebar layout. Art direction by Andreas Kainz
Markup and JS got simpler, layout got more robust.
Change-Id: Ia74489038e7d11b632ea2b6ca6efe0d90dfe5181
Reviewed-on: https://gerrit.libreoffice.org/47441
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'help3xsl/help.js')
-rw-r--r-- | help3xsl/help.js | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/help3xsl/help.js b/help3xsl/help.js index 04b02e5261..13861024f2 100644 --- a/help3xsl/help.js +++ b/help3xsl/help.js @@ -7,7 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -// Used to set Application in caseinline=APP +// Used to set Apllication in caseinlie=APP function setModule(module){ if (module == null){module="WRITER"} var itemspan = document.getElementsByTagName("span"); @@ -120,17 +120,7 @@ $(document).ready(function() { }, 200); }); - //maintain only one panel open - $('input[name="accordion-menu"]').on('change', function(){ - $('input[name="accordion-menu"]').not(this).prop('checked', false); - }); - //focus index search input clicking on Index panel - $('#accordion-2').on('change', function(){ - if($(this).is(':checked')){ - $('#search-bar').focus(); - //prevent all results to be shown - $("#Bookmarks").toggle($('#search-bar').val().length > 2); - } - }); + //prevent all results to be shown + $("#Bookmarks").toggle($('#search-bar').val().length > 2); }); /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ |