mirror of https://github.com/gorhill/uBlock.git
support saving using keyboard (through codemirror) in "My filters"
This commit is contained in:
parent
959f68ce89
commit
8d5ebf44ef
|
@ -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;}
|
||||
|
|
|
@ -210,6 +210,7 @@ uDom('#userFiltersRevert').on('click', revertChanges);
|
|||
renderUserFilters(true);
|
||||
|
||||
cmEditor.on('changes', userFiltersChanged);
|
||||
CodeMirror.commands.save = applyChanges;
|
||||
|
||||
/******************************************************************************/
|
||||
|
||||
|
|
Loading…
Reference in New Issue