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
parent
commit
6633fece81
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/commands/view/SelectComponent.js

2
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();

Loading…
Cancel
Save