diff --git a/javascripts/discourse/api-initializers/table-editor.js b/javascripts/discourse/api-initializers/table-editor.js index bf87cae..2694388 100644 --- a/javascripts/discourse/api-initializers/table-editor.js +++ b/javascripts/discourse/api-initializers/table-editor.js @@ -18,13 +18,13 @@ export default apiInitializer("0.11.1", (api) => { "btn", "btn-icon-text" ); - const expandIcon = create( + const editIcon = create( iconNode("pencil-alt", { class: "edit-table-icon" }) ); const openPopupText = document.createTextNode( I18n.t(themePrefix("discourse_table_builder.edit.btn_edit")) ); - openPopupBtn.append(expandIcon, openPopupText); + openPopupBtn.append(editIcon, openPopupText); return openPopupBtn; }