Tweak search box styling

This commit is contained in:
Nick O'Leary
2016-11-08 21:18:34 +00:00
parent 60a41524f0
commit a0e6628757
2 changed files with 23 additions and 19 deletions

View File

@@ -183,6 +183,7 @@ RED.typeSearch = (function() {
dialog.css({left:opts.x+"px",top:opts.y+"px"}).show();
searchResultsDiv.slideDown();
setTimeout(function() {
searchResultsDiv.find(".red-ui-editableList-container").scrollTop(0);
searchInput.focus();
},100);
}
@@ -208,7 +209,6 @@ RED.typeSearch = (function() {
searchResults.editableList('empty');
searchInput.searchBox('value','');
selected = -1;
searchResults.parent().scrollTop(0);
var common = {
"debug" : false,
"inject" : false,