diff --git a/web/cm_plugins/smart_quotes.ts b/web/cm_plugins/smart_quotes.ts index 88cc584b..ec97fc07 100644 --- a/web/cm_plugins/smart_quotes.ts +++ b/web/cm_plugins/smart_quotes.ts @@ -80,7 +80,7 @@ function keyBindingForQuote( } export function createSmartQuoteKeyBindings(client: Client): KeyBinding[] { - if (client.settings.useSmartQuotes === false) { + if (client.settings?.useSmartQuotes === false) { return []; }