Browse Source

Remove id ref from the name

pull/36/head
Artur Arseniev 9 years ago
parent
commit
8a26a2c9c8
  1. 2
      src/dom_components/model/Component.js

2
src/dom_components/model/Component.js

@ -127,7 +127,7 @@ define(['backbone','./Components', 'SelectorManager/model/Selectors', 'TraitMana
var tag = this.get('tagName');
tag = tag == 'div' ? 'box' : tag;
tag = type ? type : tag;
this.name = tag.charAt(0).toUpperCase() + tag.slice(1) + ' ' + id;
this.name = tag.charAt(0).toUpperCase() + tag.slice(1);
}
return this.name;
},

Loading…
Cancel
Save