Browse Source

add "typeof" to fix bug with variable inspection

pull/702/head
Ryan Deba 8 years ago
committed by GitHub
parent
commit
9e8fda4942
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