Browse Source
Merge pull request #702 from ryandeba/patch-2
add "typeof" to fix bug with variable inspection
pull/706/merge
Artur Arseniev
9 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/commands/view/SelectComponent.js
|
|
|
@ -101,7 +101,7 @@ module.exports = { |
|
|
|
this.updateAttached(); |
|
|
|
} |
|
|
|
var model = $(trg).data('model'); |
|
|
|
if (model != 'undefined') { |
|
|
|
if (typeof model != 'undefined') { |
|
|
|
|
|
|
|
if (!model.get("selectable")) { |
|
|
|
var comp = model && model.parent(); |
|
|
|
|