mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 09:57:25 +08:00
DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592)
This commit is contained in:
@ -14,7 +14,7 @@ function initializeDetails(api) {
|
||||
api.modifyClass("controller:composer", {
|
||||
actions: {
|
||||
insertDetails() {
|
||||
this.get("toolbarEvent").applySurround(
|
||||
this.toolbarEvent.applySurround(
|
||||
"\n" + `[details="${I18n.t("composer.details_title")}"]` + "\n",
|
||||
"\n[/details]\n",
|
||||
"details_text",
|
||||
|
Reference in New Issue
Block a user