diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-10-01 11:48:41 +0300 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2023-10-01 11:48:41 +0300 |
commit | c0113872c5f814cf8cf96deca541bffaf1af2568 (patch) | |
tree | 519fa7cc37fee058e25187363ba9aaf862c7cea3 /javascript/ui.js | |
parent | c7e810a9856641fbaf520976fde24c5536a4fd56 (diff) |
add search field to settings
Diffstat (limited to 'javascript/ui.js')
-rw-r--r-- | javascript/ui.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/javascript/ui.js b/javascript/ui.js index aee0d1da..2e262602 100644 --- a/javascript/ui.js +++ b/javascript/ui.js @@ -263,21 +263,6 @@ onAfterUiUpdate(function() { json_elem.parentElement.style.display = "none"; setupTokenCounters(); - - var show_all_pages = gradioApp().getElementById('settings_show_all_pages'); - var settings_tabs = gradioApp().querySelector('#settings div'); - if (show_all_pages && settings_tabs) { - settings_tabs.appendChild(show_all_pages); - show_all_pages.onclick = function() { - gradioApp().querySelectorAll('#settings > div').forEach(function(elem) { - if (elem.id == "settings_tab_licenses") { - return; - } - - elem.style.display = "block"; - }); - }; - } }); onOptionsChanged(function() { |