Skip to content

Commit

Permalink
Fixed dupes error with tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
LupusUmbrae committed Apr 12, 2016
1 parent 7cb28d7 commit eab8c87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</ul>
</a>
</li>
<li ng-repeat="tab in tabs">
<li ng-repeat="tab in tabs track by $index">
<a data-toggle="tab" href="#{{tab.id}}">{{tab.name.name ? tab.name.name : tab.type === "char" ? "Unnamed Char" : "Unamed Settlement"}} <span ng-click="deletetab(tab.id)" type="button"> x </span></a>
</li>
</ul>
Expand All @@ -50,7 +50,7 @@ <h1>Kingdom Death Monster</h1>
<p>~Web Forms~</p>
<small>v0.0.1</small>
</div>
<div ng-repeat="kdm in tabs" id="{{kdm.id}}" class="tab-pane container">
<div ng-repeat="kdm in tabs track by $index" id="{{kdm.id}}" class="tab-pane container">
<div ng-include="kdm.template"></div>
</div>
</div>
Expand Down

0 comments on commit eab8c87

Please sign in to comment.