Skip to content

Commit feba596

Browse files
committed
Apply PR suggestions
1 parent ca3f937 commit feba596

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

serveradmin/servershell/static/js/servershell/autocomplete/history.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ servershell.open_history_autocomplete = function () {
4646
autocomplete_search_input.autocomplete('enable');
4747
autocomplete_search_input.autocomplete('option', 'autoFocus', $('#autoselect')[0].checked);
4848
autocomplete_search_input.autocomplete('option', 'minLength', 0);
49-
autocomplete_search_input.autocomplete('option', 'delay', 50);
49+
autocomplete_search_input.autocomplete('option', 'delay', $('#autocomplete_delay_search')[0].value);
5050

5151
// When history is opened show all item, regardless of the current input text
5252
autocomplete_search_input.autocomplete('search', "");

serveradmin/servershell/templates/servershell/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
<label class="form-input-label" for="history_size">The maximum size of your history</label>
9191
</div>
9292
<div>
93-
<input value="Clear History" type="button" onclick="servershell.history.clear()">
93+
<input value="Clear History" type="button" onclick="servershell.history.clear()" class="btn btn-sm btn-danger" style="margin-top: 5px;">
9494
</div>
9595
<hr>
9696
<b>Keyboard Shortcuts</b>

0 commit comments

Comments
 (0)