mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Use camelCase variable name
This commit is contained in:
parent
da9eece6c0
commit
a11d74ae68
2 changed files with 4 additions and 4 deletions
|
@ -87,7 +87,7 @@ function alertText(options) {
|
||||||
|
|
||||||
function performInstallation(page, name, guid, version) {
|
function performInstallation(page, name, guid, version) {
|
||||||
const developer = $('#developer', page).html().toLowerCase();
|
const developer = $('#developer', page).html().toLowerCase();
|
||||||
const repository_url = $('#repositoryUrl', page).html().toLowerCase();
|
const repositoryUrl = $('#repositoryUrl', page).html().toLowerCase();
|
||||||
|
|
||||||
const alertCallback = function () {
|
const alertCallback = function () {
|
||||||
loading.show();
|
loading.show();
|
||||||
|
@ -102,7 +102,7 @@ function performInstallation(page, name, guid, version) {
|
||||||
|
|
||||||
// Check the repository URL for the official Jellyfin repository domain, or
|
// Check the repository URL for the official Jellyfin repository domain, or
|
||||||
// present the warning for 3rd party plugins.
|
// present the warning for 3rd party plugins.
|
||||||
if (!repository_url.startsWith("https://repo.jellyfin.org/")) {
|
if (!repositoryUrl.startsWith("https://repo.jellyfin.org/")) {
|
||||||
loading.hide();
|
loading.hide();
|
||||||
let msg = globalize.translate('MessagePluginInstallDisclaimer');
|
let msg = globalize.translate('MessagePluginInstallDisclaimer');
|
||||||
msg += '<br/>';
|
msg += '<br/>';
|
||||||
|
|
|
@ -167,7 +167,7 @@ export default function(view) {
|
||||||
dialog.querySelector('.newPluginForm').addEventListener('submit', e => {
|
dialog.querySelector('.newPluginForm').addEventListener('submit', e => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
||||||
const repository_url = dialog.querySelector('#txtRepositoryUrl').value.toLowerCase();
|
const repositoryUrl = dialog.querySelector('#txtRepositoryUrl').value.toLowerCase();
|
||||||
|
|
||||||
const alertCallback = function () {
|
const alertCallback = function () {
|
||||||
repositories.push({
|
repositories.push({
|
||||||
|
@ -181,7 +181,7 @@ export default function(view) {
|
||||||
|
|
||||||
// Check the repository URL for the official Jellyfin repository domain, or
|
// Check the repository URL for the official Jellyfin repository domain, or
|
||||||
// present the warning for 3rd party plugins.
|
// present the warning for 3rd party plugins.
|
||||||
if (!repository_url.startsWith("https://repo.jellyfin.org/")) {
|
if (!repositoryUrl.startsWith("https://repo.jellyfin.org/")) {
|
||||||
let msg = globalize.translate('MessageRepositoryInstallDisclaimer');
|
let msg = globalize.translate('MessageRepositoryInstallDisclaimer');
|
||||||
msg += '<br/>';
|
msg += '<br/>';
|
||||||
msg += '<br/>';
|
msg += '<br/>';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue