mirror of https://github.com/sualko/cloud_bbb
Readability changes for curly braces
parent
c1b1d32965
commit
8fcbcb0a07
|
@ -1,4 +1,4 @@
|
||||||
import {api} from './Common/Api';
|
import { api } from './Common/Api';
|
||||||
import './Manager/App.scss';
|
import './Manager/App.scss';
|
||||||
|
|
||||||
declare const OCP: any;
|
declare const OCP: any;
|
||||||
|
@ -123,7 +123,7 @@ $(() => {
|
||||||
$<HTMLInputElement>('#bbb-shortener [name="app.shortener"]').on('keyup', (ev) => {
|
$<HTMLInputElement>('#bbb-shortener [name="app.shortener"]').on('keyup', (ev) => {
|
||||||
ev.preventDefault();
|
ev.preventDefault();
|
||||||
|
|
||||||
const {value} = ev.target;
|
const { value } = ev.target;
|
||||||
|
|
||||||
if (!value || value.indexOf('https://') !== 0 || value.indexOf('{token}') < 0) {
|
if (!value || value.indexOf('https://') !== 0 || value.indexOf('{token}') < 0) {
|
||||||
$('#bbb-shortener-example').text(t('bbb', 'URL has to start with https:// and contain {token}. Additionally the {user} placeholder can be used.'));
|
$('#bbb-shortener-example').text(t('bbb', 'URL has to start with https:// and contain {token}. Additionally the {user} placeholder can be used.'));
|
||||||
|
|
Loading…
Reference in New Issue