Implemented Effect View for skills

This commit is contained in:
Thaum
2015-03-06 11:03:09 +00:00
parent 76ba6b441e
commit 40a050d88f
28 changed files with 602 additions and 86 deletions

View File

@@ -98,14 +98,7 @@ Template.layout.events({
},
"core-animated-pages-transition-end [detail-pages]": function(e) {
var detailOpened = Session.get("global.ui.detailShow");
if(detailOpened){
//HACK by putting core-selected back on the main content section
//we stop it being hidden while the detail section is shown
$("#mainContentSection").addClass("core-selected");
//but we still want to track whether it is or isn't actually selected
//so we can hide hero elements, since they are technically now shown as detail
$("#mainContentSection").addClass("fake-selected");
} else {
if(!detailOpened){
Session.set("global.ui.detailData", null);
Session.set("global.ui.detailTemplate", null);
Session.set("global.ui.detailHeroId", null);