opts can be undefined and throw error
This commit is contained in:
parent
07e4ac3865
commit
700119cc9e
2 changed files with 1 additions and 4 deletions
|
@ -332,8 +332,5 @@ DEPENDENCIES
|
|||
uglifier
|
||||
uservoice-ruby
|
||||
|
||||
RUBY VERSION
|
||||
ruby 2.3.0p0
|
||||
|
||||
BUNDLED WITH
|
||||
1.12.5
|
||||
|
|
|
@ -40,7 +40,7 @@ const TopicCard = {
|
|||
*/
|
||||
showCard: function (node, opts) {
|
||||
var self = TopicCard
|
||||
|
||||
if (!opts) opts = {}
|
||||
var topic = node.getData('topic')
|
||||
|
||||
self.openTopicCard = topic
|
||||
|
|
Loading…
Reference in a new issue