1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-07 11:22:38 +01:00

double-click to edit rules

This commit is contained in:
gorhill 2015-02-17 01:31:01 -05:00
parent 6ffae9c280
commit b498f2f98d

View File

@ -222,6 +222,7 @@ uDom.onLoad(function() {
uDom('#revertButton').on('click', revertHandler); uDom('#revertButton').on('click', revertHandler);
uDom('#commitButton').on('click', commitHandler); uDom('#commitButton').on('click', commitHandler);
uDom('#editEnterButton').on('click', editStartHandler); uDom('#editEnterButton').on('click', editStartHandler);
uDom('#diff > .pane.right > .rulesContainer').on('dblclick', editStartHandler);
uDom('#editStopButton').on('click', editStopHandler); uDom('#editStopButton').on('click', editStopHandler);
uDom('#editCancelButton').on('click', editCancelHandler); uDom('#editCancelButton').on('click', editCancelHandler);