DEV: Improve variable naming for edit icon

This commit is contained in:
Keegan George 2022-07-20 15:15:13 -07:00
parent 8e078d2bc9
commit 20890f7e67
1 changed files with 2 additions and 2 deletions

View File

@ -18,13 +18,13 @@ export default apiInitializer("0.11.1", (api) => {
"btn", "btn",
"btn-icon-text" "btn-icon-text"
); );
const expandIcon = create( const editIcon = create(
iconNode("pencil-alt", { class: "edit-table-icon" }) iconNode("pencil-alt", { class: "edit-table-icon" })
); );
const openPopupText = document.createTextNode( const openPopupText = document.createTextNode(
I18n.t(themePrefix("discourse_table_builder.edit.btn_edit")) I18n.t(themePrefix("discourse_table_builder.edit.btn_edit"))
); );
openPopupBtn.append(expandIcon, openPopupText); openPopupBtn.append(editIcon, openPopupText);
return openPopupBtn; return openPopupBtn;
} }