diff options
| author | “Ryder <“r@okfoc.us”> | 2016-03-29 17:29:38 -0400 |
|---|---|---|
| committer | “Ryder <“r@okfoc.us”> | 2016-03-29 17:29:38 -0400 |
| commit | b65a71fb6e34e8988eae5357a6d42ba5bb172539 (patch) | |
| tree | d9ac918a4973735f7d56b29d46e0a3801d5f921d /public/assets/js/lib | |
| parent | 5bbafb5aba5dacc63323717036a97eeadb9ecfa6 (diff) | |
add active class
Diffstat (limited to 'public/assets/js/lib')
| -rw-r--r-- | public/assets/js/lib/ProjectView.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/public/assets/js/lib/ProjectView.js b/public/assets/js/lib/ProjectView.js index 52ff128..655d37e 100644 --- a/public/assets/js/lib/ProjectView.js +++ b/public/assets/js/lib/ProjectView.js @@ -22,7 +22,7 @@ var ProjectView = View.extend({ app.header.updateSlideCount( 1 ) $('body').removeClass('navopen') this.$el.removeClass("hidden") - + this.$el.addClass("active") if (this.project_id == "cover") { app.router.pushState("/") } @@ -39,6 +39,7 @@ var ProjectView = View.extend({ hide: function(){ addClassForPeriod( this.el, "hiding", app.navigation_delay, function(){ this.$el.addClass("hidden") + this.$el.removeClass("active") }.bind(this) ) }, |
