summaryrefslogtreecommitdiff
path: root/help3xsl/help.js
diff options
context:
space:
mode:
Diffstat (limited to 'help3xsl/help.js')
-rw-r--r--help3xsl/help.js16
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: */