attach usercss regexp-test button to the value input

This commit is contained in:
tophf 2018-07-03 09:04:59 +03:00
parent 7eb8d1f372
commit 6b2adcf6c3

View File

@ -34,7 +34,7 @@ function createAppliesToLineWidget(cm) {
$create('li.applies-to-everything', t('appliesToEverything')), $create('li.applies-to-everything', t('appliesToEverything')),
}; };
$('button', TPL.listItem).insertAdjacentElement('beforebegin', $('.applies-value', TPL.listItem).insertAdjacentElement('afterend',
$create('button.test-regexp', t('styleRegexpTestButton'))); $create('button.test-regexp', t('styleRegexpTestButton')));
CLICK_ROUTE = { CLICK_ROUTE = {