Updated persona tab to Polymer 1
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
<template name="proficiencyListItem">
|
||||
<div class="item-slot">
|
||||
<div class="proficiency item small layout horizontal center"
|
||||
hero-id="main" {{detailHero}}>
|
||||
<iron-icon icon="{{profIcon}}"
|
||||
style="margin-right: 16px;"></iron-icon>
|
||||
<div class="proficiency item small layout horizontal center">
|
||||
<iron-icon icon="{{profIcon}}" style="margin-right: 16px;"></iron-icon>
|
||||
<div class="flex">{{getName}}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -14,7 +14,11 @@ Template.proficiencyListItem.helpers({
|
||||
});
|
||||
|
||||
Template.proficiencyListItem.events({
|
||||
"tap .proficiency": function(event, instance){
|
||||
openParentDialog(this.parent, this.charId, this._id);
|
||||
"click .proficiency": function(event, instance){
|
||||
openParentDialog({
|
||||
parent: this.parent,
|
||||
charId: this.charId,
|
||||
element: event.currentTarget,
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user