Fix popup medias

This commit is contained in:
2026-01-14 23:00:33 +01:00
parent 14bf9e2fc8
commit da39ca6589
15 changed files with 75 additions and 44 deletions
-2
View File
@@ -11,8 +11,6 @@ window.copyTextToClipboard = common.copyTextToClipboard;
window.getOuterWidth = common.getOuterWidth;
import Css from './../styles/spot.scss';
import LogoText from '../images/logo_black.png';
import Logo from '../images/spot-logo-only.svg';
//Masks
import Spot from './spot.js';
+2 -3
View File
@@ -115,9 +115,8 @@ export default class Spot {
}
}
lang(sKey, asParams) {
asParams = asParams || [];
if(typeof asParams != 'object') asParams = [asParams];
lang(sKey, asParams = []) {
if(typeof asParams !== 'object') asParams = [asParams];
var sLang = '';
if(sKey in this.consts.lang) {