mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-23 00:05:22 +03:00
Refactor: Use agnostic loader naming
This commit is contained in:
parent
dfe5210385
commit
a5628794ab
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ import I18NextVue from "i18next-vue";
|
||||||
import i18next from "i18next";
|
import i18next from "i18next";
|
||||||
|
|
||||||
// Function to load tab content while preserving Vue functionality
|
// Function to load tab content while preserving Vue functionality
|
||||||
export function loadTabContent(contentElement, htmlPath, callback) {
|
export function loadContent(contentElement, htmlPath, callback) {
|
||||||
// Load the HTML content
|
// Load the HTML content
|
||||||
contentElement.load(htmlPath, function () {
|
contentElement.load(htmlPath, function () {
|
||||||
// Find all elements that need Vue functionality
|
// Find all elements that need Vue functionality
|
Loading…
Add table
Add a link
Reference in a new issue