editors isn't defined on some pages like install-usercss

fixes #411
This commit is contained in:
tophf 2018-07-03 08:42:13 +03:00
parent d02d93f476
commit 74ef2f6fcf

View File

@ -229,7 +229,7 @@
}); });
// doubleclick option // doubleclick option
{ if (window.editors) {
const fn = (cm, repeat) => const fn = (cm, repeat) =>
repeat === 'double' ? repeat === 'double' ?
{unit: selectTokenOnDoubleclick} : {unit: selectTokenOnDoubleclick} :