A reddit-ish theme for Discourse

So looks like it’s not finding this function:

    customCreateTopic() {
      if (document.querySelector(".d-editor-input")) {
        document.querySelector(".d-editor-input").focus();
      } else {
        this.composer.openComposer({
          action: _composer.default.CREATE_TOPIC,
          draftKey: _composer.default.NEW_TOPIC_KEY,
          categoryId: this.category?.id,
          tags: this.tag?.id
        });
      }
    }
  },

I’ve tested on Firefox and Chrome from my Ubuntu OS. Not sure if it’s the plugins I’m using or something, guess I’ll have to have a play around and drilldown deeper. Weird it seems only I’m experiencing this though :unamused: Hopefully get to the bottom of it.

1 Like