diff --git a/lsp/main.js b/lsp/main.js index e6512c3f..da1d1ccb 100644 --- a/lsp/main.js +++ b/lsp/main.js @@ -62,6 +62,10 @@ // show correct tab showTab($(this).text()); }); + + if (($(this).text() == "limits") && (settings.settings.LTS != 1)) { + $(this).remove(); + } }); // show login 'tab' and hide menu @@ -879,7 +883,7 @@ { var text = $(this).val(); - /* + /* if(text.charAt(0) == '/' || text.substr(0, 7) == 'push://') { $('#stream-edit-preset').val(''); @@ -889,8 +893,8 @@ $('#stream-edit-preset').show(); $('#stream-edit-preset-label').show(); } - */ - + */ + if(text.charAt(0) == '/') { $('#stream-edit-buffer').val(''); @@ -903,7 +907,7 @@ }) ) ) - /*.append( + /*.append( $('