Fixed issue #1936: Generated chat widget code misses required option chatId.
This commit is contained in:
parent
d4519e3444
commit
577e2b1204
1 changed files with 1 additions and 1 deletions
|
@ -348,7 +348,7 @@ class App.ChannelChat extends App.ControllerSubContent
|
||||||
params[key] = value
|
params[key] = value
|
||||||
paramString = ''
|
paramString = ''
|
||||||
for key, value of params
|
for key, value of params
|
||||||
if !_.isEmpty(value)
|
if _.isNumber(value) || _.isBoolean(value) || !_.isEmpty(value)
|
||||||
if paramString != ''
|
if paramString != ''
|
||||||
# coffeelint: disable=no_unnecessary_double_quotes
|
# coffeelint: disable=no_unnecessary_double_quotes
|
||||||
paramString += ",\n"
|
paramString += ",\n"
|
||||||
|
|
Loading…
Reference in a new issue