Implemented Effect View for skills
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
Template.registerHelper("detailHero", function(suffix){
|
||||
var id = suffix? this._id + suffix : this._id;
|
||||
Template.registerHelper("detailHero", function(suffix, givenId){
|
||||
var id = givenId || this._id;
|
||||
if(suffix) id += suffix;
|
||||
if ( Session.equals("global.ui.detailHeroId", id) ) {
|
||||
return "hero";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user