1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-02 17:19:38 +02:00

support saving using keyboard (through codemirror) in "My filters"

This commit is contained in:
Raymond Hill 2018-03-01 13:37:23 -05:00
parent 959f68ce89
commit 8d5ebf44ef
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
2 changed files with 2 additions and 1 deletions

View File

@ -11,4 +11,4 @@
.cm-s-default .cm-comment {color: #777;}
.cm-staticext {color: #008;}
.cm-staticnet.cm-block {color: #800;}
.cm-staticnet.cm-allow {color: #060;}
.cm-staticnet.cm-allow {color: #004f00;}

View File

@ -210,6 +210,7 @@ uDom('#userFiltersRevert').on('click', revertChanges);
renderUserFilters(true);
cmEditor.on('changes', userFiltersChanged);
CodeMirror.commands.save = applyChanges;
/******************************************************************************/