Undo last commit. Was not the issue

This commit is contained in:
ebolam
2022-09-30 15:31:03 -04:00
parent 6da22fe4f9
commit b8765874bb

View File

@@ -2426,7 +2426,7 @@ function push_selection_to_phrase_bias() {
} }
document.getElementById("settings_flyout_tab_settings").onclick(); document.getElementById("settings_flyout_tab_settings").onclick();
document.getElementById("empty_bias_phrase").value = getSelectionText(); document.getElementById("empty_bias_phrase").value = getSelectionText();
//document.getElementById("empty_bias_phrase").scrollIntoView(false) document.getElementById("empty_bias_phrase").scrollIntoView(false)
document.getElementById("empty_bias_phrase").onchange() document.getElementById("empty_bias_phrase").onchange()
} }
@@ -3038,8 +3038,8 @@ function create_new_wi_entry(folder) {
}; };
var card = world_info_entry(data); var card = world_info_entry(data);
//card.scrollIntoView(false); //card.scrollIntoView(false);
//clearTimeout(world_info_scroll_timeout); clearTimeout(world_info_scroll_timeout);
//world_info_scroll_timeout = setTimeout(function() {card.scrollIntoView(false);}, 200); world_info_scroll_timeout = setTimeout(function() {card.scrollIntoView(false);}, 200);
} }
@@ -3905,7 +3905,7 @@ function highlightEl(element) {
let tab = Array.from($(".tab")).filter((c) => c.getAttribute("tab-target") === area.id)[0]; let tab = Array.from($(".tab")).filter((c) => c.getAttribute("tab-target") === area.id)[0];
tab.click(); tab.click();
//element.scrollIntoView(); element.scrollIntoView();
} }
function addSearchListing(action, highlight) { function addSearchListing(action, highlight) {