Fix popup medias
This commit is contained in:
@@ -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
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user