new lightbox interface v1
This commit is contained in:
@@ -96,8 +96,9 @@ function Spot(asGlobals)
|
||||
};
|
||||
|
||||
this.lang = function(sKey, asParams) {
|
||||
asParams = asParams || [];
|
||||
if($.type(asParams) != 'array') asParams = [asParams];
|
||||
var sParamType = $.type(asParams);
|
||||
if(sParamType == 'undefined') asParams = [];
|
||||
else if($.type(asParams) != 'array') asParams = [asParams];
|
||||
var sLang = '';
|
||||
|
||||
if(sKey in self.consts.lang) {
|
||||
|
||||
Reference in New Issue
Block a user