fixup 74ef2f6f: 'editors' is a const

This commit is contained in:
tophf 2018-07-10 11:45:52 +03:00
parent 26aab6c926
commit e51c632db6

View File

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