1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-15 07:22:28 +02:00

send cursor at the end when opening "My filters" pane

This commit is contained in:
Raymond Hill 2018-03-28 19:04:04 -04:00
parent 6a5c938e5d
commit 9fdda522a1
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -68,6 +68,7 @@ function renderUserFilters(first) {
} }
cmEditor.setValue(content); cmEditor.setValue(content);
if ( first ) { if ( first ) {
cmEditor.setCursor(cmEditor.lineCount(), 0);
cmEditor.clearHistory(); cmEditor.clearHistory();
} }
userFiltersChanged(false); userFiltersChanged(false);